New answers tagged

0

You should never use relative urls in wordpress except for css files. If "pretty permalink" something that works on one page might break on another. All urls should be absolute. The most you can get with usually is being relative to the protocol, but almost never anything more then that.


-1

<div class="fill" style="background-image:url("img/image01.png");"></div> Your double quotes within double quotes will stop it from working, you need: <div class="fill" style="background-image:url('img/image01.png');"></div>


-1

Add this in the CSS: * { box-sizing: content-box; }


0

As @N00b said, if a selector matches between bootstrap and wordpress, and is more specific, then it will overwrite and you'll see the changes.


0

If I get what you're asking, it's that you want a way to remove the <style> tag from your header - correct? Definitely a good idea to do this - just keep the bare minimum there. This way, styles can be managed separately to your markup - keeping the presentation layer separate is best practice. All of your CSS you can then put into an external file, ...



Top 50 recent answers are included