Stopping in-line styles with the Cubic theme
-
Hello,
I just started working on my first WordPress site and overall, it’s been fun. However, I want to edit the menu on the Cubic theme so that it doesn’t take up the whole page. That is easy enough through the CSS, but the issue is that when the menu is selected the #main element is set to display: hidden in-line. My CSS can’t overwrite this since it is specified right in the HTML.
Is there any way to keep this from happening? Can I edit more than just the CSS?
The blog I need help with is: (visible only to logged in users)
-
-
When writing a rule, use the !important tag.
#sidebar { width: 30% !important; }This will keep it from being overwritten by inline styles.
- The topic ‘Stopping in-line styles with the Cubic theme’ is closed to new replies.