Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 51
  1. #41
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    when looking at this section of viewed source:
    Code:
    <div id="buybox" class="forward">
    <!--bof Attributes Module -->
    <div id="productAttributes">
    <h3 id="attribsOptionsText">Please Choose: </h3>
    
    
    <div class="wrapperAttribsOptions">
    <h4 class="optionName back">Type</h4>
    <div class="back">
    <input name="id[1]" value="1" id="attrib-1-1" type="radio"><label class="attribsRadioButton zero" for="attrib-1-1">Plant ($5.00) </label><br>
    <input name="id[1]" value="2" id="attrib-1-2" type="radio"><label class="attribsRadioButton zero" for="attrib-1-2">Rhizome ($1.00) </label><br>
    
    </div>
    <br class="clearBoth">
    </div>
    
    
    <br class="clearBoth">
    
    
    </div><!--bof Add to Cart Box -->
    <hr>
          <div id="cartAdd">
        Choose Quantity: <input name="cart_quantity" value="1" maxlength="6" size="4"
     type="text"><br><br><input name="products_id" value="1" 
    type="hidden"><input src="includes/templates/gingerland/buttons/english/button_in_cart.gif"
     alt="Add to Cart" title=" Add to Cart " type="image"> 
             </div>
      <!--eof Add to Cart Box-->
    The <br> in red have to go. you'll have to edit them out in the template file. You will also have to adjust the width of #buybox to 100&#37; in the stlyesheet.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #42
    Join Date
    Feb 2007
    Location
    St. Somewhere, Fl
    Posts
    26
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    You just hit on something that seems to have me guessing. When I have a page loaded in the browser and I view it as code, I can see the different tags such as as the two <br> tags that I need to get rid of ( and I certainly understand why ) but then I have the problem of knowing what file it is that lets me edit them out.

    When I do a search/find in the entire template folder for the tags <br> it brings back zero results.

    It has got to be something in my thought pattern that I am missing a concept here and I guess it might boil down to how to edit html in php files.
    Does this make sense?

    Thanks
    The Herb Garden
    Putting "Spice" in your life since 1989

  3. #43
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    I believe that the 2 <br class="clearboth"> are in the tpl_modules_attributes.php file.

    the 2 <br> are in the tpl_product_in fo_display.php filein the add to cart section
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #44
    Join Date
    Feb 2007
    Location
    St. Somewhere, Fl
    Posts
    26
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    Well I did remove the <br> tags and clearBoth and changed my css. The box is looking like I want it as far as the css is concerned, I'm just not seeing the changes taking place to make the attributes information and the add to cart information all on the same horizontal line.

    I'll keep looking, but am open to any help..thanks
    The Herb Garden
    Putting "Spice" in your life since 1989

  5. #45
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    did you get the <br class="clearboth"> at about line 49 in tpl_modules_attributes.php?
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  6. #46
    Join Date
    Feb 2007
    Location
    St. Somewhere, Fl
    Posts
    26
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    As soon as I take that code out the add to cart cluster drops below the buybox div. Here is a link to it..http://www.gingerlandtropicals.com/Z...&products_id=1
    The Herb Garden
    Putting "Spice" in your life since 1989

  7. #47
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    add the class forward like this:
    Code:
    <div id="cartAdd" class="forward">
    and to head off the next question you then need to remove the two <br> that are not far past that to get the quantity box to come down next to the add to cart button
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #48
    Join Date
    Feb 2007
    Location
    St. Somewhere, Fl
    Posts
    26
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    You are definitely getting me closer...the light is getting brighter at the end of the tunnel.

    As you can see, using the previous link, the "add to cart" cluster is now to the right, on the same line. Thank you....

    When I use the Firefox Developer tools and click on miscellaneous/edit html, I can see the <br> tags you are talking about, I remove them and when I click on the "apply" icon, I can, for a brief moment only, see a flash that the layout works, but then it reverts back as if I made no changes. Could this be a permissions problem?

    Also, in order that I actually learn and not just follow instructions blindly, as I make these changes, would you tell me what removing the clearBoth lines did, as well as adding "class=forward" to the addCart div did. This will help me so that when the day comes I reach the numerous posts and learning level you and others are at, I too, will be able to give back to this forum.

    Thanks...
    The Herb Garden
    Putting "Spice" in your life since 1989

  9. #49
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    the <br class="clearboth" > were keeping anything from being on the same line(left or right) with the attributes. the two <br> tags are in the tpl_product_info_display.php file, you need to remove them from that file. their purpose is to stack the the quanity box and the add to cart button, with out them the two will be side by side.
    the class="foward" references this in the stylesheet:
    Code:
    .forward, #shoppingCartDefault #PPECbutton {
    	float: right;
    	}
    the float: right; moves the div to which it is applied to the far right of its container

    anymore question class......no, ok everybody off to recess
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #50
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    Quote Originally Posted by clydejones View Post
    Creating a "centercolumnFooter" in v1.3.7 is (at least for me) is a three step process.

    1. create the following declaration in your stylesheet.css

    #centercolumnFooter {
    margin: 0;
    padding: 0;
    }

    2. in includes/languages/english/extra_definitions/YOUR_TEMPLATE
    create a new file centercolumn_footer_defines.php

    define ('CENTERCOLUMN_FOOTER_TEXT','You can place any text you want here'};

    3. open includes/templates/YOUR_TEMPLATE/templates/tpl_index_default.php

    scroll to the bottom of the file and at around line 81 (in my copy) just above the </div>

    insert the following statement:

    <div id="centercolumnFooter"><?php echo CENTERCOLUMN_FOOTER_TEXT; ?> </div>

    Save all of the files and upload them to your server.
    if the above three steps do not work, then add this fourth step also

    PHP Code:
    Try adding <div id="centercolumnFooter"><?php echo CENTERCOLUMN_FOOTER_TEXT?> </div>


    to tpl_index_categories.php and see what happens.
    These 4 steps worked perfectly for me. I was able to control the text style and position in the css file.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. How do I customize page layout?
    By zc_fan in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 May 2011, 03:11 AM
  2. Customize one category's page layout
    By timstoel in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Dec 2008, 09:39 PM
  3. Center Page Layout
    By a4tech in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2007, 08:15 AM
  4. Customize Page Layout
    By weflorencekoh in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Feb 2007, 03:14 PM
  5. customize a page layout
    By mikajlo in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Nov 2006, 01:56 PM

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