Page 3 of 12 FirstFirst 12345 ... LastLast
Results 21 to 30 of 116
  1. #21
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Page layout question

    No dice. I checked to make sure I deleted the correct clearBoth and I did. I also added the height code just as you said but I'm not seeing any difference after the change?

    Ian

  2. #22
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Page layout question

    Install this mod...It will easily do what you are trying to do:

    http://www.zen-cart.com/index.php?ma...roducts_id=132

    Hope this helps.
    Thank you, Sincerely, MagicMan

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

    Default Re: Page layout question

    Not exactly... r1formetoo is trying to get the ez-pages navbar next to the logo, not the header navbar below the logo.

    I see the clearBoth at the bottom of the navigation block, but it doesn't seem to be doing anything. Add a clear to #logoWrapper and you will get the right effect:
    Code:
    #logoWrapper {
    	width:200px;
    	height:150px;
    	float: left;
    	clear: both;
    	}

  4. #24
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Page layout question

    Ok, I added the clear but it didn't seem to change anything...

    Ian

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

    Default Re: Page layout question

    Did you refresh the site view? I now see things mostly where they should be. The header navbar doesn't have a height since its clearBoth is somehow not functioning, and that is why there is no green background for it. Can you post your current tpl_header.php in [php] and [/php] tags?

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

    Default Re: Page layout question

    Erratum: I misremembered the order for background-position - it should be horizontal then vertical.
    Code:
    #headerWrapper {
    	background-image:url(../images/head_bg_2.gif);
    	background-repeat: no-repeat;
    	background-position: center 35px;/*adjust as required*/
    	height: 191px;
    	}
    This should help the alignment of the background.
    Also, giving #navMainWrapper a height will let its bg show:
    Code:
    #navMainWrapper {
        height: 23px;
        }

  7. #27
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Page layout question

    Oh my god, it did it, it did it, it did it. Merry Christmas to me, merry Christmas to me, holy freakin A crap, merry Christmas to me. Thanks Glenn and merry Christmas to you too of course.

    Ok, so here's what's next. I want to move everything upward so that there is nothing green above my lawn mower guy. This means relocating the "home" and "log in" to somewhere else. Could they perhaps be in with the ez links?

    Ian

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

    Default Re: Page layout question

    Glad it's all working now! You could move the Home and Login to the ez-pages bar, but when logged in, the Login link changes to Logout and My Account links. That behavior wouldn't translate. Also, when there is something in the cart, Shopping Cart and Checkout links appear. This would make the lower bar too crowded.

    I think you are best off leaving the header nav where it is, and making the background blend with the rest of the header. These stylesheet changes will do that:
    Code:
    #headerWrapper {
    	background-image:url(../images/head_bg_2.gif);
    	background-repeat: no-repeat;
    	background-position: center 29px;/*changed 12-24*/
        height: 191px;
    	}	
    
    #logoWrapper {
    	width:200px;
    	height:150px;
    	float: left;
    	clear: both;
    	}
    
    #logoWrapper+.clearBoth {display: none;} <-------delete this now - you don't need it anymore
    /*this is temporary and lets the ez-pages bar sit next to the logo -
    you need to delete the <br class="clearBoth" /> in tpl_header.php as advised above.*/
    
    
    ...
    
    /*navigation*/
    ...
    
    #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
    	padding: 0.5em 0.2em;
    	font-weight: bold;
    	color: #ffffff;
    	height: 1%;
    	}
    
    #navMainWrapper {/*separate this selector to its own rule 12-24*/
    	background: #D1E6FB; 
    	padding: 0 0.2em;
    	font-weight: bold;
    	height: 29px;
    	}
    
    ...
    
    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    	text-decoration: none;
    	padding: 0em 0.5em;
    	margin: 0;
    	color: #00aa00;/*changed 12-24*/
    	white-space: nowrap;
    	}

  9. #29
    Join Date
    Sep 2008
    Posts
    431
    Plugin Contributions
    0

    Default Re: Page layout question

    Glenn, check out the page now. I haven't made a single change to it and yet now it has gone wild. The thing is jacked up. What happened?

    Ian

  10. #30
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Page layout question

    The thing is jacked up. What happened?
    Your stylesheet appears to have gone missing. YIKES!

    Do you have a backup copy of your stylesheet.css?

    Tina

 

 
Page 3 of 12 FirstFirst 12345 ... LastLast

Similar Threads

  1. Main Page Layout Question
    By kinembe in forum Basic Configuration
    Replies: 2
    Last Post: 7 Jan 2012, 08:07 PM
  2. Product Listing display page / category page layout change question
    By cgarforth in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2010, 02:37 PM
  3. Home Page Layout Question
    By EPA570 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Jul 2009, 09:54 AM
  4. Page layout question
    By tbroush in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Apr 2007, 04:59 PM
  5. Question on page layout changes
    By tanky in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jul 2006, 10:04 PM

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