Jump to content

Custom CSS


mediacowboy

Recommended Posts

mediacowboy

I don't know rather to post here or the server so please move if it needs it. Here is what I have ran into. With my custom theme there are a lot things that don't work because it is styled in the html markup. There is no way around it as far as the theme goes. @@Luke, would it be possible to move all that back out of the html mark and back in the cascading styles sheet's?

 

 

 

Example

#txtCustomCss{
   overflow-y: scroll;
}

This use to make the Custom CSS Feild a scroll bar and keep it clean. Now because the Custom CSS is styled for auto in the html markup it does not work. There are a lot of other things but that is a quick one to prove.

Link to comment
Share on other sites

astraldragon

You can use !important to force rules on elements.  That should make it so that no matter how the rules are applied (through CSS or through the HTML inline), that your rules decorated with !important will take priority.

#txtCustomCss {
    overflow-y: scroll !important;
}

I'd say typically in Web Development you'd try to steer away from using them, but I'd say it's ok here :)

Edited by astraldragon
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...