I’m trying to change the bootstrap theme background. I used this in the main.scss
// Body
$body-bg: $gray-600;
$body-color: $gray-900;
I also tried adding css:
body {
background-color: #f9f1e0;
}
but it isn’t working
my other changes work just fine so npm is working fine.
Thanks
Hi,
it’s hard to reproduce what’s wrong with your setup without seeing the full SCSS source.
Could you first make sure that /assets/css/main.css is writable or delete main.css and try to recompile it.
If it’s still failing would it be possible to share your main.scss by creating a ZIP file and dragging it in the Uploader (see Sidebar)?
Okay, it’s working now. User error. Thank you. And thank you for this great theme.
Glad that you could debug the error and make it work.
Thanks for the feedback. I’m glad that you find the theme useful. Happy Coding!
one more question. I want to modify the main blog page loop… where is index.php calling the loop from? I see the single page loop, but not the one which lists the blog posts.
The post loop in the archive templates (i.e. index, author, category, etc.) is called via
get_template_part( 'archive', 'loop' )
which loads the generalarchive-loop.php
template. There you can see that thecontent-index.php
template is referenced.index.php – https://github.com/them-es/themes-starter-bootstrap/blob/master/index.php#L22
archive-loop.php – https://github.com/them-es/themes-starter-bootstrap/blob/master/archive-loop.php
content-index.php – https://github.com/them-es/themes-starter-bootstrap/blob/master/content-index.php