Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    red flag Creating a info box under header_bg.jpg

    Is it possible to create an info box under header_bg.jpg on the main page ? I want a one line or one row box that's as wide as the page, located just under the main page header image.
    If this is possible, how would I achive this ? i.e. what files do I need to edit and what do I need to enter in them ?

    I'm thinking stylesheet.css and possibly a few other php files ? i.e. the main page display script ?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Creating a info box under header_bg.jpg

    You could open tpl_header.php and insert the red part:

    <!--eof-header logo and navigation display-->

    <div id="newbox"> This is some sort of text i want to put just under the header image.</div>

    <!--bof-optional categories tabs navigation display-->

    then style #newbox in the stylesheet.

    This assumes you have the navCatTabs and the EZ page header menu turned off. If one or both of those are present, you may need to place the red part somewhere else in the same file.

  3. #3
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Creating a info box under header_bg.jpg

    Ahh, thanks for that advice. I will give it a try and let you know how it goes.

    007

  4. #4
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    red flag Re: Creating a info box under header_bg.jpg

    The top code worked ok in tpl_header.php

    However the #newbox code in stylesheet.css seems to be missing information to create the box. Any ideas ? i.e. what code actually creates the box ?

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

    Default Re: Creating a info box under header_bg.jpg

    You have to add that from scratch. The div will be there occupying the desired space, but you need to tell it to have a different background or border or whatever before it will look like a box. You can take examples of borders and backgrounds from other stylesheet rules and tweak them as desired.

  6. #6
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Creating a info box under header_bg.jpg

    Can you show a CSS example thanks ? i.e. for the #newbox entry.

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

    Default Re: Creating a info box under header_bg.jpg

    #newbox {border: 1px solid #aabbdd; background: #eeeeee;}

  8. #8
    Join Date
    Sep 2010
    Posts
    263
    Plugin Contributions
    0

    database error Re: Creating a info box under header_bg.jpg

    Cool. Thanks for that.

 

 

Similar Threads

  1. header_bg.jpg
    By greatlakesherbalife in forum Basic Configuration
    Replies: 9
    Last Post: 21 Apr 2010, 11:12 AM
  2. header_bg.jpg
    By yellowdaises in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jul 2007, 11:19 PM
  3. header_bg.jpg>>?
    By Jasonf in forum Templates, Stylesheets, Page Layout
    Replies: 35
    Last Post: 2 Jul 2007, 08:19 PM
  4. header_bg.jpg
    By sammybotz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Mar 2007, 07:23 AM
  5. Header_bg.jpg
    By blackdream in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Jul 2006, 03:08 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