I'm building a website on WordPress through a child theme based on Dazzling. The website is /
The problem I'm having is that the sidebar of my website is being shown on the right side, even though on the theme's configuration on WordPress dashboard it is set to be on the left.
The problem seemed to arise when I uploaded the header.php file (I'm not sure if it was when I created header.php or when I created style.css). When I inspect the page, the tag that contains the sidebar (widget area) is div#secondary.widget-area.col-sm-12.col-md-4 . However, I can't find this tag neither on the header.php nor the style.css. Does anyone know how to fix the problem?
I'm building a website on WordPress through a child theme based on Dazzling. The website is http://theaerogeek/
The problem I'm having is that the sidebar of my website is being shown on the right side, even though on the theme's configuration on WordPress dashboard it is set to be on the left.
The problem seemed to arise when I uploaded the header.php file (I'm not sure if it was when I created header.php or when I created style.css). When I inspect the page, the tag that contains the sidebar (widget area) is div#secondary.widget-area.col-sm-12.col-md-4 . However, I can't find this tag neither on the header.php nor the style.css. Does anyone know how to fix the problem?
Share Improve this question asked Aug 28, 2018 at 0:08 Rodrigo de OliveiraRodrigo de Oliveira 152 bronze badges 5 |1 Answer
Reset to default 0I just checked your site, if you want to move the sidebar to the left, add this to your CSS.
@media (min-width:992px) {
.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9 {
float:right;
}
}
In case you don't know how to add CSS, check this out.
header.php
file. – nmr Commented Aug 28, 2018 at 11:13header.php
that read the option and set the appropriate CSS class. Can you pasteheader.php
code? – nmr Commented Aug 28, 2018 at 15:14