coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: keithluneau on August 09, 2006, 08:38:12 PM

Title: Quick question on themes/colors...
Post by: keithluneau on August 09, 2006, 08:38:12 PM
Hi. I've got a good understanding about this themeing stuff, but by no means would I call myself "good" at it. lol I've doctored up our gallery to look like out forum's custom theme, and got it bridged and working well. There's just one little thing that's buggin me though. How do I changed the color of the text in the FAQs without changing to the color of the links in the top menu? Take a look at the gallery here and see what I mean. The top menu really needs to stay with the white text, but it looks screwed up on the FAQs page. http://www.scale4x4rc.org/gallery

Please let me know and thanks for any help in advance!
Keith

Title: Re: Quck question on themes/colors...
Post by: Sami on August 09, 2006, 09:14:28 PM
you can create new style under style.css and bind it to the faq links
something like

.faqlink:link {
color:#00000;
}

and then edit faq.php and add that style as a class name to a tag of this line:

       $faqHeading .= '<ul style="margin-top:0px;margin-bottom:0px"><li><a href="#'.$anchorName.'">'.$element[0].'</a></li></ul>';


something like this:

       $faqHeading .= '<ul style="margin-top:0px;margin-bottom:0px"><li><a href="#'.$anchorName.'" class="faqlink">'.$element[0].'</a></li></ul>';
Title: Re: Quck question on themes/colors...
Post by: keithluneau on August 09, 2006, 09:39:43 PM
Thanks for the quick responce! That worked well, but the large links on the FAQ page are still white. Where might I find those to change them?

By the way, I had to call the new style "faqlink" and not "faqlink:link" for it to work. I guess I could have changed to code in faq.php, but I figured either way was fine.
Title: Re: Quick question on themes/colors...
Post by: Sami on August 09, 2006, 09:48:50 PM
faqlink:link should work ! it work for me !!!
anyway you need to change the line 41 of faq.php (a tag under else )
to

      $faqHeading .=  '<h2><a href="#'.$anchorName.'" class="faqlink">'.$element.'</a></h2>';
Title: Re: Quick question on themes/colors...
Post by: keithluneau on August 09, 2006, 10:14:14 PM
That works! Thanks again for the help!  ;D