Page 37 of 40 FirstFirst ... 273536373839 ... LastLast
Results 361 to 370 of 393
  1. #361
    Join Date
    Feb 2011
    Posts
    665
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    That's what i thought.

    I added that line and have a pic with the correct name and it still doesn't work.

    I think I'll give up on it.

    Now I've got to take all that stuff back out.

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

    Default Re: Smart Backgrounds support

    You are trying to apply this background to mainWrapper; if the elements inside that have background-color or background-image, those will sit on top of the mainWrapper background and hide it. What backgrounds do you have for #headerWrapper, #contentMainWrapper, #navColumnOne, etc.?

  3. #363
    Join Date
    Jun 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Thanks for a great addon!


    I'm having difficulties showing category related graphics for product pages when inveostore magicseourl is enabled.

    smartbg class correct, no sef urls:
    http://www.prostore.fi/index.php?mai...&cPath=131_132

    smartbg class wrong with sef urls:
    http://www.prostore.fi/rullalaudat-p...musta-552.html

    inveostore support states behaviour cannot be because of them,

    http://www.inveostore.com/community/...roke-580#p2611


    I really love both addons, can you please aid how to give category specific class for product page with MSU enabled?

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

    Default Re: Smart Backgrounds support

    Smart Backgrounds uses $_GET['main_page'] and similar superglobals to act on, so if MSU is not setting those correctly it will fail, per Conor's post that you referenced. You might try changing $_GET['cPath'] to $cPath in the function code and see if that makes a difference.

  5. #365
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    help question Re: Smart Backgrounds support

    First off, THANK YOU for this mod!

    I'm using the foreground images successfully for product categories, but would like to add some to manufacturer pages.

    If the URL for the particular page is /index.php?main_page=index&manufacturers_id=29, what would my filename end with? I've tried every filename combination I can think of without luck.

    Thanks again!

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

    Default Re: Smart Backgrounds support

    There is not currently a mechanism for identifying individual manufacturers' index pages. It would be possible to do; I can investigate when I am back home in a few days.

  7. #367
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Thanks, Glenn -- that would be awesome!

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

    Default Re: Smart Backgrounds support

    Once again I am away from home, and unfortunately there is no way to mark threads "unread", so if I forget about something and there are a lot of posts before I get back, I may not see it again. I will try to remember this time.

  9. #369
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Hi, I am working on www.test.theflowershoppe.co.uk. I am trying to add the different backgrounds for my logo wrapper.

    I have added "'.png' to the tpl_main_page (was class="smartBG<?php echo smart_backgrounds();?>" but is now class="smartBG<?php echo smart_backgrounds('.png');?>").

    I have added to my smartBG stylesheet:

    #logoWrapper {background-image: url(../images/smartBG.png);}

    .smartBG_contact_us #logoWrapper {background-image: url(../images/smartBG_contact_us.png);}

    and uploaded the images to my template folder for images. No change on the contact page. I am sure I am doing something simple wrong, could you help please?

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

    Default Re: Smart Backgrounds support

    .smartBG_contact_us #logoWrapper {background-image: url(../images/smartBG_contact_us.png);}

    The code looks for image files named in lowercase, like smartbg_whatever.whatever. Rename your images and modify your stylesheet rules like this:

    .smartBG_contact_us #logoWrapper {background-image: url(../images/smartbg_contact_us.png);}

    The stylesheet selectors do use camel case (.smartBG_contact_us).

 

 
Page 37 of 40 FirstFirst ... 273536373839 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR