Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Change Header to Bacgkround-Image CSS Not working?  (Read 9151 times)

Offline evolancer

  • Newbie
  • *
  • Posts: 6
  • Karma: +2/-0
    • View Profile
Change Header to Bacgkround-Image CSS Not working?
« on: August 31, 2014, 04:04:41 PM »
I have been successfully able to change the header colors on my website but unable to change the header to a background-image.

1. I'm modifying the style.css file.
2. The picture is of a single plank of wood. I'm repeating the image: background-repeat: repeat; in the header section of stye.css
3. I checked my linking for the background-image(/public_html/storefront/view/default_html5/image/woodgrain.jpg); and it appears to be correct.

Anybody have a successful example or quick way to fix this problem?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Change Header to Bacgkround-Image CSS Not working?
« Reply #1 on: September 01, 2014, 01:40:52 AM »
Hello.

Try to use similar CSS code
Code: [Select]
background-image: url("http://demo.abantecart.com/resources/image/18/73/3.png");
in the
Code: [Select]
.headerstrip { } css rule
../storefront/view/default_html5/stylesheet/style.css about line 232

Offline evolancer

  • Newbie
  • *
  • Posts: 6
  • Karma: +2/-0
    • View Profile
Re: Change Header to Bacgkround-Image CSS Not working?
« Reply #2 on: September 01, 2014, 01:56:32 PM »
Thank you I will give this a shot!

 

Powered by SMFPacks Social Login Mod