stylesheet not showing in CSS Stle Editor Box
-
I upgraded to Custom CSS and changed to the Sandbox 2 column theme, but all that is showing in the Editor box is…
/* Welcome to Custom CSS!
If you are familiar with CSS or you have a stylesheet ready to paste, you may delete these comments and get started.
CSS (Cascading Style Sheets) is a kind of code that tells the browser how to render a web page. Here’s an example:
img { border: 1px solid red; }
That line basically means “give images a red border one pixel thick.”
CSS is not very hard to learn. If you already know a little HTML it will be fun to move things around on the web page by changing your stylesheet. There are many free references to help you get started. You can find helpful links, starter stylesheets and knowledgable people in the forum:
http://wordpress.com/forums/forum.php?id=3We hope you enjoy developing your custom CSS. Here are a few things to keep in mind:
You can not edit the stylesheets of your theme. Your stylesheet will be loaded after the theme stylesheets, which means that your rules can take precedence and override the theme CSS rules. The Sandbox theme is recommended for those who would prefer to start from scratch.
CSS comments will be stripped from your stylesheet. */
/* This is a comment. Comments begin with /* and end with */
/*
Things we strip out include:
* HTML code
* @import rules
* expressions
* invalid and unsafe code
* URLs not using the http: protocolThings we encourage include:
* @media blocks!
* sharing your CSS!
* testing in several browsers!
* helping others in the forum!Please use the contact form if you believe there is something wrong with the way the CSS Editor filters your code.
*/I have also tried other themes but get the same thing, help please
TIA -
Click on the link at the bottom that says, CSS stylesheet and it will open in another window. Select it all and paste it into a plain text file.
You will not be modifying the existing CSS, you will be taking the appropriate sections out of the existing stylesheet and then modifying those and “adding” that to the existing stylesheet. Your changes will override the like sections of the original CSS.
-
The CSS stylesheet doesn’t show up in the edit box. That space is for you to input your own CSS. If you are looking for the current CSS for the blog, click on the link included in the line “Add this to the Sanbox theme’s CSS stylesheet.”
Oh – and let me warn you that there are 2 versions of Sandbox in the theme listing: the older .61 and the newer 1.0.
-
Thank you for ersponding.
So once I edit, how do I put the edited CSS style sheet back in? -
You only put in the box what you are changing. You check the appropriate radio button – either add to style sheet or start from scratch.
Sounds like to me you need to review the stickies at the top of the CSS customization forum. https://en.forums.wordpress.com/forum/css-customization
-
I’ve had mixed results with “start from scratch” and I’ve found it far better to simply put in the changes that I’m making, and not the entire stylesheet.
-
I’ve not had any issues with “start from scratch.” That’s the way I coded the setup I’m using now. (On my test blog, I *had* to use “start from scratch” in order to get certain things to work in Sandbox 1.0 the way I wanted. I’m working on updating the version of Sandbox that I’m using.)
-
Thank you all again. I did review the stickies at the top of the forum, and I am quite proficient in html and css, just not in this format :)
- The topic ‘stylesheet not showing in CSS Stle Editor Box’ is closed to new replies.