Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    28
    Plugin Contributions
    0

    Default centerBoxHeading

    I try to get 3 pictures in centerBoxHeading.
    it works in IE but not in FF
    All products move to the right in Firefox.

    What do i needs to change.

    Link
    http://shop.se/zen/zengrund10/index....dex&cPath=3_10


    i have change in includes/modules/new_products.php


    PHP Code:
      if ($new_products->RecordCount() > 0) {
        if (isset(
    $new_products_category_id) && $new_products_category_id != 0) {
          
    $category_title zen_get_categories_name((int)$new_products_category_id);
          
    $title '<div class="centerBoxHeadingLeft">p</div><h2 class="centerBoxHeading">' sprintf(TABLE_HEADING_NEW_PRODUCTSstrftime('%B')) . ($category_title != '' ' - ' $category_title '' ) . '</h2><div class="centerBoxHeadingRight">f</div>';
        } else {
          
    $title '<div class="centerBoxHeadingLeft">p</div><h2 class="centerBoxHeading">' sprintf(TABLE_HEADING_NEW_PRODUCTSstrftime('%B')) . '</h2><div class="centerBoxHeadingRight">f</div>';
        }
        
    $zc_show_new_products true;
      }

    and in stylesheet.css i put in .centerBoxHeadingLeft and .centerBoxHeadingRight

    Code:
    .centerBoxHeadingLeft {
      	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
        float: left;
        width: 20px;
        height: 20px;
    }
    
    .centerBoxHeading {
      	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
        height: 20px;
        width: 300px;
        float: left;
    }
    
    .centerBoxHeadingRight {
      	margin: 0em;
    	background-color: #abbbd3;
    	background-image: url(../images/tile_back.gif);
        width: 20px;
        height: 20px;
        float: right;
    }

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: centerBoxHeading

    .centerBoxHeading {stylesheet.css (line 561)
    background-color:#ABBBD3;
    background-image:url(../images/tile_back.gif);
    float:left; << remove this
    height:20px;
    margin:0;
    width:372px;
    }

    i don't know what editor you used to modify your site , but centerbox headings contain letter "f" and "p" in right and left side

    something might have been changed during modification

 

 

Similar Threads

  1. Centerboxheading
    By byrd813 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Sep 2009, 01:09 PM
  2. centering centerboxheading
    By prodesk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Feb 2007, 10:22 PM
  3. .centerBoxHeading
    By FireCat in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Jan 2007, 03:25 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