Customizing SMF > Graphics and Templates
help trying to change color of text in all forum title bars
hotshot.vipin:
can anyone please tell my how we can change the color of text that appears in the title bars.
the text in my green title bar is not appearing because the color is not contrasting
please tel how we can change that color of the text, i had changed the title bar color to green by uploading a custom main_block file
MovedGoalPosts:
you need to edit your index.css file. A good way to find what element of the css is controlling a page is use of tools such as firebug for firefox (I think chrome has something similar built in). These allow you to inspect how the page is made up and being displayed.
vineetkumargautam:
can you please tell us the exact line or the segment of the code.. we are not able to find it by any means..
MovedGoalPosts:
Without access to the site, I can't be certain. If it is based on the standard SMF 2 curve theme try around line 753 in index.css
--- Code: ---h3.catbg a:link, h3.catbg a:visited, h4.catbg a:link, h4.catbg a:visited, h3.catbg, .table_list tbody.header td, .table_list tbody.header td a
{
color: #FFFFFF;
}
--- End code ---
If you have changed your main_block.png file, you are probably going to see other colouring issues on your board. Find what is affecting them as indicated above with tools like Firebug plug in for Firefox browser (other similar tools are available in Firefox, Chrome ...).
oops - code tags in wrong place
hotshot.vipin:
hi,
i wil try to change this code in the evening and see whether its working,.,.
if it works for the default theme it would work for this too,.,.,
else i will share my index.css file with you
Navigation
[0] Message Index
[#] Next page
Go to full version