Results 1 to 10 of 393

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    Oops, typo:
    background_repeat: no-repeat;
    should be

    background-repeat: no-repeat;

  2. #2
    Join Date
    Feb 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    I have the header background working for the home page and one category page (Fighter Pilots). So why isn't working on the Rosie the Riveter category? I have the style sheet and the images set up the same. I also tried it on 1 ez page (We Donate) and it's not changing! Please help.

    http://www.aircorpsdepot.com/store2/index.php

    HTML Code:
    .smartBG_1 #logoWrapper {margin: 0; padding: 0; width: 100%; display: block; background: url('../images/header-bg2.png') center no-repeat; height: 280px;}
    .smartBG_2 #logoWrapper {margin: 0; padding: 0; width: 100%; display: block; background: url('../images/header-bg3.png') center no-repeat; height: 280px;}
    
    /*example to set header bg for ez-page id 1*/
    .smartBG_page1 #logoWrapper {margin: 0; padding: 0; width: 100%; display: block; background: url('../images/headerbg_page1.png') center no-repeat; height: 280px;}
    Thanks

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    The code looks for specific filenames to activate the background images. If those names are not present, the default will be used. header-bg2.png and headerbg_page1.png are not recognized names; as the readme says, "Name your background images like smartbg_23.gif or smartbg_shippinginfo.gif"

    The standard code looks for gif images; if you want to use png's, change .gif to .png in all occurrences.

    The number if applicable must match the category or ez-page id number.

  4. #4
    Join Date
    Feb 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    That worked thanks. I had it named like that on the first 2 so thought it would work on the rest. Guess not.

 

 

Similar Threads

  1. Adding Image Map to header with Smart Backgrounds
    By cspan27 in forum Addon Templates
    Replies: 16
    Last Post: 25 Jul 2009, 01:14 AM
  2. smart backgrounds
    By Glendon in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2008, 04:49 PM
  3. Backgrounds
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jun 2006, 06:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg