Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Join Date
    May 2007
    Posts
    48
    Plugin Contributions
    0

    Default Header log placement

    I would like to move my header logo to the top of the page while still keeping the links on the the right side. How do I do this? My url is http://www.publicmyth.com/shop/

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header log placement

    In your stylesheet.css file find these 2 entry areas and seperate out the #logo and then the #logoWrapper into their own entries and make them look like the following:
    logo:
    Code:
    #logo  {
    	float: left;
            position: absolute;
            top: 2px;
    	}
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    logoWrapper:
    Code:
    #logoWrapper {
            height: 70px;
            }
    
    #headerWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    Zen-Venom Get Bitten

  3. #3
    Join Date
    May 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Header log placement

    I put this in but the header logo didn't move. It did however change the product color swatches from horizontal to vertical. Thanks

  4. #4
    Join Date
    May 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Header log placement

    any idea as to why this did not move my logo up?

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header log placement

    I put this in but the header logo didn't move. It did however change the product color swatches from horizontal to vertical. Thanks
    I did this interactively using FireFox on your site and it does work...

    Check that you added it to the correct files...
    includes/templates/PM/css/stylesheet.css

    There is no change that I posted that affects the display of the color swatches...

    Triple check that you have closed the statements altered correctly
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header log placement

    I just checked and you did not apply what I posted....

    you seperated out #headerWrapper and not #logoWrapper and then did not alter the #logo at all...Your currect Code for the #logo
    Code:
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    And what you have for the #logoWrapper
    Code:
    #logoWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	}
    Zen-Venom Get Bitten

  7. #7
    Join Date
    May 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Header log placement

    I was just trying different things here to see if there was any difference. I have now put it back to your suggestion. Here is my stylesheet

    PHP Code:
    /**
     * Main CSS Stylesheet
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: stylesheet.css 5347 2006-12-22 20:26:09Z birdbrain $
     */
    body {
     
    margin0;
     
    font-familyverdanaarialhelveticasans-serif;
     
    font-size62.5%;
     
    color#000000;
     
    background-color#e5edf5;
     
    }
    a img {bordernone; }
    a:link#navEZPagesTOC ul li a {
     
    color#3300FF;
     
    text-decorationnone;
     }
     
    a:visited {
     
    color#3300FF;
     
    text-decorationnone;
     }
    a:hover#navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
     
    color#FF0000;
     
    }
    a:active {
     
    color#0000FF;
     
    }
    h1 {
     
    font-size1.5em;
     }
    h2 {
     
    font-size1.4em;
     }
    h3 {
     
    font-size1.3em;
     }
    h4h5h6LABELh4.optionNameLEGENDADDRESS, .sideBoxContent, .larger{
     
    font-size1.1em;
     }
    .
    biggerText {
     
    font-size1.2em;
     }
    h1h2h3h4h5h6 {
        
    margin0.3em 3px;
    }
    CODE {
     
    font-familyarialverdanahelveticasans-serif;
     
    font-size1em;
     }
    FORMSELECTINPUT {
     
    displayinline;
     
    font-size1em;
     
    margin0.1em;
     }
    TEXTAREA {
    /* float: left;*/
     
    marginauto;
     
    displayblock;
     
    width95%;
     }
    input:focusselect:focustextarea:focus {
     
    background#F0F8FF;
     
    }
    FIELDSET {
     
    padding0.5em;
     
    margin0.5em 0em;
     
    border1px solid #cccccc;
     
    }
    LEGEND {
     
    font-weightbold;
     
    padding0.3em;
     }
    LABELh4.optionName {
     
    line-height1.5em;
     
    padding0.2em;
     }
    LABEL.checkboxLabelLABEL.radioButtonLabel {
     
    margin0.5em 0.3em;
     }
    #logo (
     
    floatleft;
     
    positionabsolute;
     
    top2px;
     )
    .
    centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
     
    floatleft;
     }
    LABEL.inputLabel {
     
    width11em;
     
    floatleft;
     }
    LABEL.inputLabelPayment {
     
    width15em;
     
    floatleft;
     }
    LABEL.selectLabelLABEL.switchedLabelLABEL.uploadsLabel  {
     
    width12em;
     
    floatleft;
     }
    PADDRESS {
     
    padding0.5em;
     }
    ADDRESS {
     
    font-stylenormal;
     }
    .
    clearBoth {
     
    clearboth;
     
    height:0;
     
    font-size1px;
     
    line-height0;
     }
    HR {
     
    height1px;
     
    margin-top0.5em;
     
    bordernone;
     
    border-bottom1px solid #9a9a9a;
     
    }
    /*warnings, errors, messages*/
    .messageStackWarning, .messageStackError, .messageStackSuccess, .messageStackCaution {
     
    line-height3.8em;
     
    padding0.2em;
     
    border1px solid #000000;
     
    }
    .
    messageStackWarning, .messageStackError {
     
    background-color#ff0000;
     
    color#ffffff;
     
    }
    .
    messageStackSuccess {
     
    background-color#99FF99;
     
    color#000000;
     
    }
    .
    messageStackCaution {
     
    background-color#FFFF66;
     
    color#000000;
     
    }
    /*wrappers - page or section containers*/
    #mainWrapper {
     
    background-color#ffffff;
     
    text-alignleft;
     
    width750px;
     
    vertical-aligntop;
     }
    #logoWrapper (
     
    height70px;
     )
    #headerWrapper, #contentMainWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
     
    margin0em;
     
    padding0em;
     }
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
     
    marginauto;
     } 
    #tagline { 
    displaynone
     
    }
    #sendSpendWrapper {
     
    border1px solid #cacaca;
     
    floatright;
     
    margin0em 0em 1em 1em;
     }
    .
    floatingBox#accountLinksWrapper, #sendSpendWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {
     
    margin0;
     
    width47%;
     }
    .
    wrapperAttribsOptions {
     
    margin0.3em 0em;
     }
    /*navigation*/
    .navSplitPagesResult {}
    .
    navSplitPagesLinks {}
    .
    navNextPrevCounter {
     
    margin0em;
     
    font-size0.9em;
     }
    .
    navNextPrevList {
     
    displayinline;
     
    white-spacenowrap;
     
    margin0;
     
    padding:  0.5em 0em;
     list-
    style-typenone;
     }
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper  { color: #fc0; font-weight: bold; background-color: #fff; margin: 0; width: 100%; height: 1% }
    #navMain ul, #navSupp ul, #navCatTabs ul  {
     
    margin0;
     
    padding:  0.5em 0em;
     list-
    style-typenone;
     
    text-aligncenter;
     
    line-height1em;
     }
    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
     
    displayinline;
     }
    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a  { color: #333; font-size: 1em; text-decoration: none; white-space: nowrap; margin: 0; padding: 0 0.5em }
    #navEZPagesTOCWrapper {
     
    font-weightbold;
     
    floatright;
     
    height1%;
     
    border1px solid #000000;
     
    }
    #navEZPagesTOC ul {
     
    margin0;
     
    padding:  0.5em 0em;
     list-
    style-typenone;
     
    line-height1.5em;
     }
    #navEZPagesTOC ul li {
     
    white-spacenowrap;
     }
    #navEZPagesTOC ul li a {
     
    padding0em 0.5em;
     
    margin0;
     }
    #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
     
    margin0.5em;
     }
    #navMainSearch {
     
    floatright;
     }
    #navBreadCrumb  { }
    #navEZPagesTop  { background-color: #dedede }
    #navBreadCrumb, #navEZPagesTop {
     
    font-size0.95em;
     
    font-weightbold;
     
    margin0em;
     
    padding0.5em;
     }
    #navColumnOne  { background-color: #fff }
    #navColumnTwo {
     
    background-color#00BFBF;
     
    }
    /*The main content classes*/
    #contentColumnMain, #navColumnOne, #navColumnTwo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .alert {
     
    vertical-aligntop;
     }
    /*.content,*/ #productDescription, .shippingEstimatorWrapper {
     /*font-size: 1.2em;*/
     
    padding0.5em;
     }
    .
    alert {
     
    color#FF0000;
     
    margin-left0.5em;
     }
    .
    advisory {}
    .
    important {
     
    font-weightbold;
     }
    .
    notice {}
    .
    rating{}
    .
    gvBal {
     
    floatright;
     }
    .
    centerColumn#bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
     
    padding0.8em;
     }
    .
    smallText#siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
     
    font-size0.9em;
     }
    /*Shopping Cart Display*/
    #cartAdd {
     
    floatright;
     
    text-aligncenter;
     
    margin1em;
     
    border1px solid #000000;
     
    padding1em;
     }
    .
    tableHeading TH {
     
    border-bottom1px solid #cccccc;
     
    }
    .
    tableHeading#cartSubTotal {
     
    background-color#e9e9e9;
      
    }
    #cartSubTotal {
     
    border-top1px solid #cccccc;
     
    font-weightbold;
     
    text-alignright;
     
    line-height2.2em;
     
    padding-right2.5em;
     }
    .
    tableRow, .tableHeading#cartSubTotal {
     
    height2.2em;
     }
    .
    cartProductDisplay, .cartUnitDisplay, .cartTotalDisplay, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity#cartInstructionsDisplay, .cartTotalsDisplay   {
     
    padding0.5em 0em;
     }
    .
    cartUnitDisplay, .cartTotalDisplay {
     
    text-alignright;
     
    padding-right0.2em;
     }
    #scUpdateQuantity {
     
    width2em;
     }
    .
    cartQuantity {
     
    width4.7em;
     }
    .
    cartNewItem {
     
    color#33CC33;
     
    positionrelative;  /*do not remove-fixes stupid IEbug*/
     
    }
    .
    cartOldItem {
     
    color#660099;
     
    positionrelative;   /*do not remove-fixes stupid IEbug*/
     
    }
    .
    cartBoxTotal {
     
    text-alignright;
     
    font-weightbold;
     }
    .
    cartRemoveItemDisplay {
     
    width3.5em;
     }
    .
    cartAttribsList {
     
    margin-left1em;
     }
    #mediaManager {
      
    width50%; 
      
    margin0.2em;
      
    padding0.5em;
      }
    .
    normalprice, .productSpecialPriceSale {
     
    text-decorationline-through;
     }
    .
    productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
     
    color#ff0000;
     
    }
    .
    orderHistList {
     
    margin1em;
     
    padding0.2em 0em;
     } 
    #cartBoxListWrapper ul, #ezPageBoxList ul {
     
    list-style-typenone;
     }
    #cartBoxListWrapper li, #ezPageBoxList li, .cartBoxTotal {
     
    margin0;
     
    padding0.2em 0em;
     } 
    #cartBoxEmpty, #cartBoxVoucherBalance {
      
    font-weightbold;
      }
    .
    totalBox {
     
    width5.5em;
     
    text-alignright;
     
    padding0.2em;
     }
    .
    lineTitle, .amount {
     
    text-alignright;
     
    padding0.2em;
     }
    .
    amount {
     
    width5.5em;
     }
    /*Image Display*/
    #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage {
     
    margin0em 1em 1em 0em ;
     }
    .
    categoryIcon {}
    #cartImage {
     
    margin0.5em 1em;
     }
    /*Attributes*/
    .attribImg {
     
    width20%;
     
    margin0.3em 0em;
    }
    .
    attributesComments {}
    /*list box contents*/
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
     
    margin1em 0em;
     }
    /*sideboxes*/
    .columnLeft {}
    h3.leftBoxHeadingh3.leftBoxHeading a  color#333; font-size: 1.1em; background-color: #ffffff }
    .leftBoxHeading, .centerBoxHeading  background-color#ccc; margin: 0; padding: 0.5em 0.2em }
    .leftBoxContainer {
     
    border1px solid #ffffff;
     
    margin-top1.5em;
     }
    .
    sideBoxContent {
     
    background-color#ffffff;
     
    padding0.4em;
     }
    h3.rightBoxHeadingh3.rightBoxHeading a {
     
    font-size1.1em;
     
    color#FFFF00;
     
    }
    .
    rightBoxHeading {
     
    margin0em;
     
    background-color#663366;
     
    padding0.2em 0em;
     }
    h3.leftBoxHeading a:hover {
     
    color#FF0000;
     
    text-decorationnone;
     } 
    h3.rightBoxHeading a:hover {
     
    color#FF0000;
     
    text-decorationnone;
     }
    .
    rightBoxContent {
     
    background-color#ffffff;
     
    margin-bottom1em;
     }
    .
    centeredContentTH#cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
     
    text-aligncenter;
     }
    #bestsellers .wrapper {
     
    margin0em 0em 0em 1.5em;
     }
    #bestsellers ol {
     
    padding0;
     
    margin-left1.1em;
     }
    #bestsellers li {
     
    padding0;
     
    margin0.3em 0em 0.3em 0em;
     }
    #bannerboxHeading {
     
    background-color#0000CC;
    }
    #upProductsHeading {
     
    text-alignleft;
     }
    #upDateHeading {
     
    text-alignright;
     }
    /*misc*/
    .back {
     
    floatleft;
     }
    .
    forward#shoppingCartDefault #PPECbutton {
     
    floatright;
     }
    .
    bold {
     
    font-weightbold;
     }
    .
    rowOdd {
     
    background-color#E8E8E8;
     
    height1.5em;
     
    vertical-aligntop;
     }
    .
    rowEven {
     
    background-color#F0F0F0;
     
    height1.5em;
     
    vertical-aligntop;
     }
    .
    hiddenField {
     
    displaynone;
    }
    .
    visibleField {
     
    displayinline;
    }
    CAPTION {
     
    /*display: none;*/
     
    }
    #myAccountGen li, #myAccountNotify li {
     
    margin0;
     } 
    .
    accountTotalDisplay, .accountTaxDisplay {
     
    width20%;
     
    text-alignright;
     
    /*vertical-align: top*/
     
    }
    .
    accountQuantityDisplay {
     
    width10%;
     
    vertical-aligntop
     
    }
    TR.tableHeading {
     
    background-color#cacaca;
     
    height2em;
     }
    #siteMapList {
     
    width90%;
     
    floatright;
     }
    .
    ratingRow {
     
    margin1em 0em 1.5em 0em;
     }
    LABEL#textAreaReviews {
     
    font-weightnormal;
     
    margin1em 0em;
     }
    #popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
     
    background-color#ffffff;
     
    }
    .
    information {padding10px 3pxline-height150%;} 

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Header log placement

    I see that the code is there and appears not to be working....But again when I interactively edit this in FF - and paste over your entries (that look correct) with the same text - it behaves correctly...

    What program are you using to edit these files?

    Use a "Plain Text" editor like notepad

    Or email me through my sig and I will mail you back a correct functioning stylesheet.
    Zen-Venom Get Bitten

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

    Default Re: Header log placement

    I think that I see the issue here is the code copied from your posted stylesheet:
    Code:
    #logo (
     float: left;
     position: absolute;
     top: 2px;
     )
    This needs to be brackets not paren's:
    Code:
    #logo {
     float: left;
     position: absolute;
     top: 2px;
    }
    Same with
    Code:
    #logoWrapper (
     height: 70px;
     )
    Zen-Venom Get Bitten

  10. #10
    Join Date
    May 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: Header log placement

    That worked , Thanks! How do I move my ezpages bar up to the logo and center the ezpages links.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Placement of header search box
    By woodlandsprite in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Nov 2012, 10:15 PM
  2. Logo Header Placement
    By CyberNickel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Mar 2009, 05:18 PM
  3. php code question...placement tpl header file
    By bwhitmire in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Sep 2008, 03:56 PM
  4. help with header placement
    By osmith in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Oct 2007, 01:34 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