Page 1 of 2 12 LastLast
Results 1 to 10 of 3244

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Hi again

    I am rehashing the template a little. I have decided to make it a fixed width of 950px rather than a fluid width as I want to replace the logo with a 950px wide header. I figured I can't do this if the website is fluid width, without it looking silly.

    I would also like to move the product attributes to below the product description

    I have figured out how to change the width of the site, with the help of the read_me file but If anyone can help me in regard to moving the attributes, that would be great. I just need to know what parts of the css i need to change and what to change it to.

    I am assuming that I need to change something in the below

    #productAttributes {
    width:100%;
    float:left;
    border:1px solid #bfbfbf;
    padding-left:5px;
    margin:5px 0 0 10px;


    TIA

  2. #2
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by heavenlynights View Post
    Hi again

    I would also like to move the product attributes to below the product description

    I have figured out how to change the width of the site, with the help of the read_me file but If anyone can help me in regard to moving the attributes, that would be great. I just need to know what parts of the css i need to change and what to change it to.

    I am assuming that I need to change something in the below

    #productAttributes {
    width:100%;
    float:left;
    border:1px solid #bfbfbf;
    padding-left:5px;
    margin:5px 0 0 10px;


    TIA
    I would look in the tpl_product_info_display.php file it is very well laid out with comments around every section , you can literally just pick up a section and move it under another one.

    I moved it around quite alot on my site and it was very easy.
    I believe Jettrue has laid it out so there is a left column a right column then a full width section under that. ( that is how I read the code anyway ) so you can place each section where you require it.

    You can then use that bit of CSS to change the size and padding if you need to.

    PHP Code:
      <!--bof Attributes Module -->
      <?php
      
    if ($pr_attr->fields['total'] > 0) {
    ?>
      <?php
    /**
     * display the product atributes
     */
      
    require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
      <?php
      
    }
    ?>
      <!--eof Attributes Module -->

    Thats the section you can move around.

    Have fun

    MARK
    Various Zen cart sites !

  3. #3
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by crazycucumber View Post
    I would look in the tpl_product_info_display.php file it is very well laid out with comments around every section , you can literally just pick up a section and move it under another one.

    I moved it around quite alot on my site and it was very easy.
    I believe Jettrue has laid it out so there is a left column a right column then a full width section under that. ( that is how I read the code anyway ) so you can place each section where you require it.

    You can then use that bit of CSS to change the size and padding if you need to.

    PHP Code:
      <!--bof Attributes Module -->
      <?php
      
    if ($pr_attr->fields['total'] > 0) {
    ?>
      <?php
    /**
     * display the product atributes
     */
      
    require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
      <?php
      
    }
    ?>
      <!--eof Attributes Module -->

    Thats the section you can move around.

    Have fun

    MARK
    Thanks Mark, I will give it a go in the morning and post back my results

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by heavenlynights View Post
    Hi again

    I am rehashing the template a little. I have decided to make it a fixed width of 950px rather than a fluid width as I want to replace the logo with a 950px wide header. I figured I can't do this if the website is fluid width, without it looking silly.

    I would also like to move the product attributes to below the product description

    I have figured out how to change the width of the site, with the help of the read_me file but If anyone can help me in regard to moving the attributes, that would be great. I just need to know what parts of the css i need to change and what to change it to.

    I am assuming that I need to change something in the below

    #productAttributes {
    width:100%;
    float:left;
    border:1px solid #bfbfbf;
    padding-left:5px;
    margin:5px 0 0 10px;


    TIA
    Open up includes/templates/cherry_zen/templates/tpl_product_info_display.php and find the attributes section (everything is nicely chunked up in that file) and move it to below the description chunk.

  5. #5
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Open up includes/templates/cherry_zen/templates/tpl_product_info_display.php and find the attributes section (everything is nicely chunked up in that file) and move it to below the description chunk.
    Thanks for that Jade. crazycucumber told me where to look.

    I moved it, looked terrible so moved it back. What I really need to do is to figure out (if at all possible) how to add notations/text without using the attributes. These notations are applicable to all products that I have. I would prefer this common text to be built into the template file so that when I add a product, that information will automatically show-up on the product info page without me having to add it some other way

    At present these common notations are listed as read-only attributes which make my products info pages very messy. If I cannot add these notations into the core template, then I will have to totally rehash the tpl_product_info_display.php.

    I am not really php code savey so I don't know if I can add html in the tpl_product_info_display.php (or if this is even the appropriate file I should be looking at) without breaking something.

    Your thoughts/help would be appreciated and thank you jade.

  6. #6
    Join Date
    Oct 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Hi, firstly i would just like to say thank you for your templates, i was using the apple zen before this one and i love them both!

    Just wanted to aska qucik question, i was wanting to modify the header and sideboix graphics to my own custom made ones, just wondered how i would go about doing this, an example of what i would like to do is on this website, i seen it a few pages back...

    http://www.affixit.co.uk

    ...See how his header bar and sidebox bars are different? Anyone be able to tell me how to do this?

    Thanks

    Shaun

  7. #7
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Cherry Zen Template Support Thread

    Quote Originally Posted by shaunb View Post
    Hi, firstly i would just like to say thank you for your templates, i was using the apple zen before this one and i love them both!

    Just wanted to aska qucik question, i was wanting to modify the header and sideboix graphics to my own custom made ones, just wondered how i would go about doing this, an example of what i would like to do is on this website, i seen it a few pages back...

    http://www.affixit.co.uk

    ...See how his header bar and sidebox bars are different? Anyone be able to tell me how to do this?

    Thanks

    Shaun
    That looks like they just replaced the standard 1px wide header background image with their own image and changed the settings in the stylesheet.css.
    http://www.affixit.co.uk/images/topbarend.jpg
    The side box images are similar.
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  8. #8
    Join Date
    Oct 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Hi, sorry to sound dumb, but what sort of changed would i need to make to the stylesheet, ive already made the images that i want to use.

    thanks for your swift reply

  9. #9
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Cherry Zen Template Support Thread

    Quote Originally Posted by shaunb View Post
    Hi, sorry to sound dumb, but what sort of changed would i need to make to the stylesheet, ive already made the images that i want to use.

    thanks for your swift reply
    I don't have a bunch of time today, but look at navMainWrapper and leftBoxHeading

    Look at the rest of the page, allot of it is commented and self explanatory
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

  10. #10
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by heavenlynights View Post
    Thanks for that Jade. crazycucumber told me where to look.

    I moved it, looked terrible so moved it back. What I really need to do is to figure out (if at all possible) how to add notations/text without using the attributes. These notations are applicable to all products that I have. I would prefer this common text to be built into the template file so that when I add a product, that information will automatically show-up on the product info page without me having to add it some other way

    At present these common notations are listed as read-only attributes which make my products info pages very messy. If I cannot add these notations into the core template, then I will have to totally rehash the tpl_product_info_display.php.

    I am not really php code savey so I don't know if I can add html in the tpl_product_info_display.php (or if this is even the appropriate file I should be looking at) without breaking something.

    Your thoughts/help would be appreciated and thank you jade.
    If its going to be "EXACTLY" the same text for every product, then sure, you can add it to tpl_product_info_display.php

    something like this:
    <!-- bof product info text for all products -->
    <?php echo '<div id="productInfoText">Text goes here</div>' ?>
    <!-- eof product info text for all products-->
    would work.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM
  2. Fresh Zen -- JellyFish Template Support Thread
    By magicbox in forum Addon Templates
    Replies: 93
    Last Post: 11 Apr 2012, 08:54 AM
  3. Free Template "Future Zen" v1.2 Support Thread
    By kuroi in forum Addon Templates
    Replies: 69
    Last Post: 16 Jul 2010, 06:00 AM
  4. Mix Cherry Zen Template with Default template
    By Globie in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2008, 08:21 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