Page 18 of 40 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 393
  1. #171
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Confused on naming convention.

    Quote Originally Posted by gjh42 View Post
    You only need to name the images for one location per the smartbg convention; the others will be individually called out in the stylesheet and can be named whatever you want.

    You don't want smartbg_headerbg_about_us.jpg, but smartbg_about_us.jpg.

    Rename headerbg.jpg to smartbg.jpg.
    What I think you mean:
    change smartbg_headerbg_about_us.jpg to smartbg_about_us.jpg
    Do nothing to the following:
    smartbg_searchbox_about_us.gif
    smartbg_topmenubg_about_us.gif
    smartbg_topmenubg_login_about_us.gif
    And I should rename my home page original image from headerbg.jpg to smartbg.jpg.

    I corrected the #logoWrapper in layout.css

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

    Default Re: Smart Backgrounds support

    smartbg_searchbox_about_us.gif
    smartbg_topmenubg_about_us.gif
    smartbg_topmenubg_login_about_us.gif

    None of these need the smartbg_, but it won't hurt them. Whatever you have consistently set up is fine.

    The .jpg was because you had headerbg already as .jpg, and I was using that as the base for file checking.

  3. #173
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    I believe it might be better to remove the smartbg_ tag. I will do so now.

    Sawhorse.

  4. #174
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    smartbg_searchbox_about_us.gif is now searchbox_about_us.gif
    smartbg_topmenubg_about_us.gif is now topmenubg_about_us.gif
    smartbg_topmenubg_login_about_us.gif is now topmenubg_login_about_us.gif

    Sawhorse

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

    Default Re: Smart Backgrounds support

    You don't need to change the code below #navMain. Just replace the code above it, and strip the background styling out of #navMain:
    PHP Code:
        <div id="navMain" style="background-image: url(includes/templates/Series_12_Horses/images/<?= $menubg?>); background-repeat: no-repeat;">


    //to this

        <div id="navMain" class="<?php echo $menuclass;?>">

  6. #176
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    I believe I have #navMain code completed.

    Sawhorse

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

    Default Re: Smart Backgrounds support

    View source shows that the body id for the About Us page is not about_us but aboutus:

    <body id="aboutusBody" class="smartBG">

    so the class & filenames need to be changed to aboutus in order to be detected properly.

  8. #178
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Darn, drat, and xxxx

  9. #179
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    color.css code changed to:
    .smartBG_aboutus #logoWrapper { background-image: url(../images/smartbg_aboutus.jpg); background-repeat: no-repeat; }
    .smartBG_aboutus #navMain.login { background-image: url(../images/topmenubg_login_aboutus.jpg); background-repeat: no-repeat; }
    .smartBG_aboutus #navMain.noLogin { background-image: url(../images/topmenubg_aboutus.jpg); background-repeat: no-repeat; }

    File name changes:
    searchbox_about_us.gif is now searchbox_aboutus.gif
    topmenubg_about_us.gif is now topmenubg_aboutus.gif
    topmenubg_login_about_us.gif is now topmenubg_login_aboutus.gif

    smartbg_about us.jpg is now smartbg_aboutus.jpg

    Sawhorse
    Last edited by Sawhorse; 15 Dec 2008 at 07:30 AM. Reason: corrected

  10. #180
    Join Date
    Oct 2007
    Location
    Kentucky - USA
    Posts
    428
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    What is happening to stylesheet_smartbg.css ?

    Sawhorse

 

 
Page 18 of 40 FirstFirst ... 8161718192028 ... 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

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