css overide

Started by pross, June 01, 2010, 11:36:09 AM

Previous topic - Next topic

pross

Link to Mod

This mod allows you to insert css into the active theme right at the end of the <HEAD> section, allowing you to effectively override the themes main css file and add your custom css code without editing any core files, so if you upgrade the theme/board files at a later date your css remains intact!

DEMO not really needed, but simply add in #smflogo { display: none; } to get rid of the main logo!



Version History:

1.0 First working version.

!RFAN

will this enable members also to make changes to css???

pross

Quote from: amigozone on June 01, 2010, 05:11:40 PM
will this enable members also to make changes to css???
No, only admin can insert css into the current theme

KensonPlays

Are there more CSS you can do at the moment? a list would be nice!!

Owner of Mesozoic Haven

pross

Quote from: Kcmartz on June 02, 2010, 11:30:11 AM
Are there more CSS you can do at the moment? a list would be nice!!
Well another one could be:
a.subject {color: #cccccc !important; }
This changes the forum name color on the main index. Note the use of !important to overide the main css file ;)

!RFAN


ermetico

Just installed but when i log on modification it came out with error parse 2000.

~DS~

#7
Firebug + css overide= the power of CSS
* Dismal Shadow thinks the Customizer Team should look this for as a standard in 2.1

@ermetico It's missing a comma in ManageSettings.php

'',
// Header link
array('large_text', 'css_overide', '1', 'subtext' => $txt['css_overide_desc'])


Replace with:

'',
// Header link
array('large_text', 'css_overide', '1', 'subtext' => $txt['css_overide_desc']),
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

pross

Fixed the bug new download available.

ermetico

thanks!

Ps. Is a common sentence that newbye , like me , encouter a lot of problems and for this reason i ask to all senior members to help us with "simple" reply when possible.
and , gain, thanks for your patience.

Advertisement: