Quick question on themes/colors... Quick question on themes/colors...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Quick question on themes/colors...

Started by keithluneau, August 09, 2006, 08:38:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keithluneau

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


Sami

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>';
‍I don't answer to PM with support question
Please post your issue to related board

keithluneau

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.

Sami

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>';
‍I don't answer to PM with support question
Please post your issue to related board

keithluneau

That works! Thanks again for the help!  ;D