SCSS Preprocessor
-
Hello–I’ve been making adjustments to the CSS code with the SCSS Preprocessor selected in the CSS tab. However, when I then save the changes and navigate to the blog on the web, it appears that the SCSS is not being applied. The blog appears as it does when I un-select the preprocessor and leave it on “none” on the customization page.
I am new to CSS, so it is possible that I am missing something. However, it seems to me that the styling displayed in the customization page should match what the blog looks like in the browser.The blog I need help with is: (visible only to logged in users)
-
I’m not seeing any CSS in the Customizer for http://sociallyblogging.wordpress.com . Can you post the code you are trying to use here so we can take a look at it, and can you verify you are talking about the referenced site?
-
Thanks for looking at this. That is the correct site. I changed the theme back to one with no CSS since my customization was not working–sorry.
Here is the code. This is messy: just me playing around with some features and trying to learn the ropes. When I enter this is the customization feature with the SCSS preprocessor selected, I see a navigation bar that goes horizontally across the screen (menu-fifth-floor-rooms). Also, the header image fills 100% of the content area. Neither of those things appear applied when I navigate to the blog on the web.
body.custom-background {
background-color: #F7F5F5;
}#masthead {
width: 100%;
hgroup {width: 100%;}
}img.header-image {
width: 100%;
}
#primary {
width: 100%;
}#secondary {
display: none;
}#content {
background-color: #FAF5F7;
padding: 10px;
border-radius: 0px;
width: 70%;
}hi.widget-title {
color: #9B9898;
}h2.site-description {
color: #9B9898;
}nav.site-navigation {
display: inline;
float: none;
width: 100%
}#navigation {
display: block;
}#menu-fifth-floor-rooms-container {
float: none;
display: block;
}#menu-fifth-floor-rooms {
li {
float:left;
}
a
{
display:block;
width:50px;
}
}aside.pages-2 {
width: 0;
display: none;
}h1.widget-title {
color: #9B9898;
}#primary {
img.single-featured{display: none;}
} -
I tested this just now by switching my test blog to the Ascetica theme, applying your sample CSS, and selecting the “SCSS” preprocessor option. I used Chrome 29.0.1547.65 on Mac OS X 10.8.4 for testing. In my tests, I was able to apply the your CSS sample and see the things you identified working when I opened my test blog home page:
* navigation bar that goes horizontally across the screen
* header image fills 100% of the content areaIf you’re still having trouble, could you try clearing your browser cache as a first troubleshooting step?
http://en.support.wordpress.com/browser-issues/#clear-your-cache-and-cookiesIf that doesn’t help, could you reply back here and let me know if you’re still having trouble?
-
I’m closing this since there have been no new replies. If you need help in the future, please start a new help request.
- The topic ‘SCSS Preprocessor’ is closed to new replies.