Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 51
  1. #11
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Customize Center Page Layout

    stylesheet.css is located in includes/templates/YOUR_TEMPLATE/css

  2. #12
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    Clyde - thank you - thank you - thank you!!


    btw did I say Thank You?!

    betty

  3. #13
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    Thanks Clyde.. I've been waiting for so long..

    That works fine on my v1.3.5

    I'm wondering if there any way to insert an image into that center column..??

  4. #14
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Customize Center Page Layout

    I do this by defining the image in a defines file: includes/languages/english/extra_definitions/YOUR_TEMPLATE/my_image_defines.php

    Code:
    define('MAIN_IMAGE_WIDTH', '200');
    define('MAIN_IMAGE_HEIGHT', '200');
    define('MAIN_IMAGE', 'your_image.jpg');
    define('MAIN_IMAGE_TEXT', 'image text');
    Then calling it in includes/languages/english/html_includes/YOUR_TEMPLATE/define_main_page.php

    Code:
    <?php echo zen_image($template->get_template_dir(MAIN_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . MAIN_IMAGE, MAIN_IMAGE_TEXT); ?>
    Place the image in includes/templates/YOUR_TEMPLATE/images/your_image.jpg

  5. #15
    Join Date
    Jan 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    stylesheet.css is located under /includes/templates/template_default/css/
    if you customizing the template copy the css folder to your template directory and then modify the stylesheet.css there

  6. #16
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    I can't get it too work (adding text to the bottom of my center column). I followed clydes instructions and got a parse error for the '}'. Changed that to a ')' and cleaned the error. However, I get NO text showing up. I'm using 1.3.7.

    It's the first site in my signature if you need to take a look.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  7. #17
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Customize Center Page Layout

    Quote Originally Posted by wtashby View Post
    I can't get it too work (adding text to the bottom of my center column). I followed clydes instructions and got a parse error for the '}'. Changed that to a ')' and cleaned the error. However, I get NO text showing up. I'm using 1.3.7.

    It's the first site in my signature if you need to take a look.
    I didn't notice the centercolumnFooter declaration in either of your (2) stylesheets.

    stylesheet.css and stylesheet_new.css nor did I see the (div id="centercolumnFooter") on the page when I viewed the page source.

    Those two stylesheets appear to be identical so I'd get rid of one of them just to prevent them from interfering with each other.

  8. #18
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    The two css files work in tandom with my template. If I get rid of one (either one) the template goes bonkers

    Aside from that, I've added the declaration in both of them, I have modified, created and uploaded all the files you described, exactly as you described, and it just won't call the center column footer.
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  9. #19
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Customize Center Page Layout

    Remember, it's The Real As Seen On TV I'm concerned about.

    Quick question about
    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'};
    Is that supposed to be wrapped in <?php ?>
    cause I did
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  10. #20
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Customize Center Page Layout

    Just to double check:

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

    Make sure this is in both of your stylesheets.
    includes/templates/trublu/css/stylesheet.css and stylesheet_new.css
    ----------

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

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

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

    scroll to the bottom of the file and just above the last </div>

    insert the following statement:

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

 

 
Page 2 of 6 FirstFirst 1234 ... 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