TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 127
  • Total: 128
  • lurkalot

Sitemap colors

Started by wizard61, August 28, 2007, 02:57:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wizard61

I have added TP to a board that I am developing and so far I just love this addon for SMF

I am stumped on one thing though.

In the sitemap, where is it that I can change colors for the sitemap items. I have a black background for the site and the menu items are far too light to see.

Thanks for your help in advance
Wizard

If someone needs a dummy login I will provide it in PM seeing that this board has not gone "live" as of yet

IchBin

You can change them in the sitemap classes of the style.css file. If your custom theme does not have the sitemap styles you can copy them from the default/style.css file.

wizard61

Well, technically I am still using the "default" theme, I just changed a few color and image codes.

Are the changes required in the main default stylesheet or their a seperate .css file just for the sitemap???

Thanks again
Wizard

wizard61

Ok, I found the are you were talking about but I m still alittle confused.

/* TP specific classes */
.sitemap{
margin: 0;
padding: 0;
list-style: none;
}
.sitemap_topheader{
background: #ECEDF3;
border-bottom: solid 1px #ffffff;
padding: 4px;
}

.sitemap_header{
background: #ECEDF3;
border-bottom: solid 1px #ffffff;
padding: 4px;
display: block;
font-weight: bold;
}

.sitemap_header_active{
background: #C8D6E1;
border-bottom: solid 1px #ffffff;
padding: 4px;
display: block;
font-weight: bold;
}

.sitemap_header:hover , .sitemap_header_active:hover{
background: #DBE4ED;
border-bottom: solid 1px #ffffff;
padding: 4px;
display: block;
text-decoration: none;


I want to change the colors so that the sitemap items are #333333 when static and #555555 when hovered upon

Thank again
Wizard

IchBin

The sitemap "items" means what? Text or background? I need more info if you want some help. :)

ZarPrime

Current Forum Stats follow ...

Link to my site: http://talesofthehavenexpanse.com/SMF-1/index.php

SMF version: SMF ver. 1.1.6 (Just Upgraded)

TP version: TP ver. 1.05 beta (Just Upgraded)

Theme name and version: as follows ...
Front Page - Crip's awesome Moonraker theme (Featured Article Set to use this theme)
Forum and the rest - Bloc's Awesome Helios Multi in Red
Cityscape on one board (testing) on following board (with new pics) ...
http://talesofthehavenexpanse.com/SMF-1/index.php/board,61.0.html

Mods installed: as follows ...
Mod Name Version 
1. TinyPortal ver. 1.05 beta
2. vMulticolor-Stars Mod 0.99
3. Avatars at Index Mod 1.3  (installed but not working yet)


Hi Ichbin,

In my case, it's "background".

I don't know if anything has come out of this topic but it may apply to me.  I'm going to be re-doing some of the blocks on this forum but after I just recently upgraded to SMF 1.1.6 and TP 1.05 beta, the Sitemap block in the left panel all of a sudden had a light background (almost light gray) instead of the darker background of the Moonraker theme that it exhibited before the upgrade.  You can see it on my main site ...
http://talesofthehavenexpanse.com/SMF-1/index.php

It's the 4th block down on the left.  It never had this light background prior to the upgrade, and it's very hard to see what's in the block now.  I may just do another Sitemap block and see if it picks up the correct background colors but this might be the same problem that wizard61 has mentioned, or at least similar.

ZP

ZarPrime

#6
Since Ichbin hasn't responded back on this problem, does anybody else have any idea why this is happening?  He probably missed this topic.

FWIW, I did try adding a second Sitemap block (it's hidden to everybody) but it exhibits the same behavior, a very light background.

Thanks in advance,

ZP

IchBin

Nope, didn't miss it. I just ignored your post because you ignored the guidelines by hijacking another topic. We ask that you start your own topic and reference any topic that you may think is related. Thanks!

To answer your question, it pulls the color info from the tpstyle.css file. Which is located by default from the default theme. If you want to change it, copy the file to your theme, and make the changes to the sitemap classes in the file.

This website is proudly hosted on Crocweb Cloud Website Hosting.