anyway
Forum Replies Created
-
As I wrote already… it was a bug in my own childtheme CSS. It had nothing to do with the theme, or with CSS generally. It was something like a missing semicolon. For a simple test, put your @media stuff to the top of your css file. If it works then, something on the way between is interrupting your css.
Okay meanwhile I have understood, that this is not a question that belongs to the theme. I solved it with the help of the WP codex and some blog entries..
Okay, I got it. It was an not easy to find bug in my CSS file. Stupid, but true. Sorry for the unnecessary posting and your patient support, Konstantin.
Highlighted, yes. Is that also possible, when the sub-menu is in the sidebar? I want to build 2 separate navs.
Thank’s for reply, Konstantin.
Yes, I know that it should be possible. I’ve worked a lot with child themes before.
It is the same in all browsers. If you never heard of this problem before, it must be something strange with my files.
That’s strange: It is working, when I write the styles directly in the head.
All other overrides I did in my childtheme style.css are working. Only, the media queries are not. The file is being loaded after the original stylesheet.
Did anybody ever have the same problem?
Okay… the only working way is imho, to keep the hero-unit and the footer outside of #page and .container.
So, I inserted the following after the menus into the header.php of my child theme:
—
</div><!– #page .hfeed .row –>
</div><!– .container –>
// Here comes the hero-unit, or slider or something else
<div class=”container”>
<div id=”page” class=”hfeed row”>
—For the footer, I pushed the closing .container-div in the footer.php up, so that the footer is standing alone.
I hope that helps somebody else with the same problem. If there is really a CSS-only solution, I’m very interested how to do that.
Same, when I omit “#page-footer”, by the way …
Ah okay, thank you. But the navbar at the Bootstrap page is also outside of container-elements. I’m going to experiment a bit more.
Thank you for today! ??
I cannot follow you, sorry. Which static sidebar, where? Could you please post a link? All I need is a meaningful example.
Thank’s for the reply. Is it that easy? Are you sure? There are always margins left and right, because the container-class. At the moment I’m trickin’ around to close the container over the footer area, following this instructions:
https://stackoverflow.com/questions/10482850/full-width-hero-unit-in-twitter-bootstrap
The container inside the theme is starting in the header.php and ending under the footer, so nearby everything is inside the container.
Do you think this way is too complicated?