TinyPortal

Development => Support => Topic started by: wizard61 on August 28, 2007, 02:57:29 AM

Title: Sitemap colors
Post by: wizard61 on August 28, 2007, 02:57:29 AM
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
Title: Re: Sitemap colors
Post by: IchBin on August 28, 2007, 03:03:16 AM
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.
Title: Re: Sitemap colors
Post by: wizard61 on August 28, 2007, 03:07:29 AM
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
Title: Re: Sitemap colors
Post by: wizard61 on August 28, 2007, 03:43:52 AM
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
Title: Re: Sitemap colors
Post by: IchBin on August 28, 2007, 05:31:51 AM
The sitemap "items" means what? Text or background? I need more info if you want some help. :)
Title: Re: Sitemap colors
Post by: ZarPrime on September 14, 2008, 05:06:39 PM
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
Title: Re: Sitemap colors
Post by: ZarPrime on September 18, 2008, 05:39:03 PM
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
Title: Re: Sitemap colors
Post by: IchBin on September 18, 2008, 06:25:56 PM
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.