Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2008
    Posts
    135
    Plugin Contributions
    0

    Default Need Help With Positiong EZ Pages Bar - Please!

    I am spending hours upon hours trying to figure out how to position the EZPages the way that I want.

    I want the links/pages to look like they do here:

    mycupcoffee.com.

    The links are inside of the header/banner.

    When I look at the CSS, it looks like I need to style this:

    #navEZPagesTop {
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }

    But when I change the margins or padding the whole page moves. I only want the EZ pages to move. Can someone please help me!!!???


    I am using the Classic Green Template

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

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    A link to your site will make it easier for us to help you.
    These are the rules that apply directly to MyCupCoffee's ez-page navbar container:
    Code:
    #navMain{
    	/*border:1px solid green;*/
    	margin-top:20px;
    	margin-left:185px;
    }
    	
    #navMain ul, #navSupp ul, #navCatTabs ul  {
    	margin: 0;
    	padding:  0.5em 0em;
    	list-style-type: none;
    	text-align: center;
    	line-height: 1.5em;
    }
    
    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
    	display: inline;
    }
    
    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    	text-decoration: none;
    	padding: 0em 0.5em;
    	margin: 0;
    	color: #ffffff;
    	white-space: nowrap;
    	font-weight: bold;
    }
    But blindly applying those rules to your site may not work correctly, because many things interact to product a template layout.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    They have moved navEZPagesTop inside of navMain and as gjh42 listed then used css to style it.

    This move is accomplished in a copy of tpl_header.php
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Aug 2008
    Posts
    135
    Plugin Contributions
    0

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    Thank you guys. I will try some of these things and post back.

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

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    Note - you don't necessarily have to move divs around in your header; you can simply apply some or all of the CSS above to #navEZPagesTop etc. instead of #navMain etc. This depends on exactly what results you want. I presume you are not intending to copy the other site in every single detail.

    Also, you probably don't want to style #navSupp ul, #navCatTabs ul the same way, so leave them out of your new code.
    Last edited by gjh42; 23 Sep 2008 at 07:14 AM.

  6. #6
    Join Date
    Aug 2008
    Posts
    135
    Plugin Contributions
    0

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    This is so annoying!! Why did the developers group all of these things together. I am pulling my hair out trying to figure out to position this thing.

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

    Default Re: Need Help With Positiong EZ Pages Bar - Please!

    Un-grouping selectors is very simple - just copy the whole rule, and delete the desired selector from the original and all the other selectors from the copy.
    Then change the copy as desired.
    Code:
    #navMain ul, #navSupp ul, #navCatTabs ul  {
    	margin: 0;
    	padding:  0.5em 0em;
    	list-style-type: none;
    	text-align: center;
    	line-height: 1.5em;
    }
    Code:
    #navSupp ul, #navCatTabs ul  {
    	margin: 0;
    	padding:  0.5em 0em;
    	list-style-type: none;
    	text-align: center;
    	line-height: 1.5em;
    }
    #navMain ul  {
    	margin: 1em;
    	padding:  0.5em 0.7em;
    	list-style-type: none;
    	text-align: left;
    	line-height: 2.0em;
    }
    I agree that there are many selector groups that would be better rearranged.

 

 

Similar Threads

  1. help with customized link bar & ez-pages?
    By paperbliss in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Nov 2010, 01:22 AM
  2. Header - need help with bar displayed at top
    By D-man in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 11 Apr 2009, 03:49 AM
  3. Task bar need help please
    By nutty2008 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 Sep 2008, 11:49 AM
  4. Please help me with the menu bar.
    By SidekickWD in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2008, 11:14 PM
  5. help me with nav bar please
    By cla74 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 May 2008, 08:46 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