bennettscience / barhop

A lightweight theme built for Anchor CMS
3 stars 3 forks source link

Arrow image in dropdown style #27

Closed bennettscience closed 10 years ago

bennettscience commented 10 years ago

Related to #22 - adding a custom image in the dropdown is breaking with the featured image/color javascript check in the footer.

background:url('assets/down.png') in the css is being redirected to /assets/assets/down.png on line 336 of index (according to the console).

bennettscience commented 10 years ago

Using the full URL solved the problem. Not sure why the extra assets was being added. Will take a deeper look later.

systimotic commented 10 years ago

This isn't a weird bug, you just overlooked something :smile:. Doesn't matter, happens to all of us.

Oh, you want to know what it is? Well, just think about it. Where is the style.css located. The background url is relative. Instead of assets/down.png, it should just be down.png.

bennettscience commented 10 years ago

Oh jeez. Thanks.