Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Turn Off the right Column

    Another idea, and not sure of the specifics off hand, might be to use css for the pages on which to hide the undesired content.

    There's a wiki on providing page specific stylesheets and a similar file in the includes/templates/template_default/css directory.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #2
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    What I am trying to do is more like making the right column invisible than turn it off for the checkout pages
    Learning Fast.
    Eden Craft Supplies

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Turn Off the right Column

    If I understand, try (in the stylesheet):

    checkoutshippingBody .rightBoxContainer {display: none;}

    #checkoutpaymentBody .rightBoxContainer {display: none;}

    and the same for the checkout success page.

  4. #4
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    Quote Originally Posted by stevesh View Post
    If I understand, try (in the stylesheet):

    checkoutshippingBody .rightBoxContainer {display: none;}

    #checkoutpaymentBody .rightBoxContainer {display: none;}

    and the same for the checkout success page.
    Now that is the coding I was looking for. I had seen it before. I will give it ago and see what pops up, or in the case I am looking for does not.
    Learning Fast.
    Eden Craft Supplies

  5. #5
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    Quote Originally Posted by stevesh View Post
    If I understand, try (in the stylesheet):

    checkoutshippingBody .rightBoxContainer {display: none;}

    #checkoutpaymentBody .rightBoxContainer {display: none;}

    and the same for the checkout success page.
    Works like a dream. Thank you. I have done three lines of code;
    Code:
    #checkoutpaymentBody .rightBoxContainer {display: none;}
    #checkoutshippingBody .rightBoxContainer {display: none;}
    #checkoutconfirmationBody .rightBoxContainer {display: none;}
    The success page looks OK with the right column in place.

    Thank you again
    Learning Fast.
    Eden Craft Supplies

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Turn Off the right Column

    Could also split that out into different files to be loaded on the applicable page(s) instead of always loading that css on every page:

    If you create a file in includes/templates/YOUR_TEMPLATE/css
    named:
    checkout_payment.css
    checkout_shipping.css
    checkout_confirmation.css

    With the applicable css to apply when just that page is shown.

    So in checkout_payment.css could have the above:

    #checkoutpaymentBody .rightBoxContainer {display: none;}
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Turn Off the right Column

    Very good point. I will do it that way, as you said to stop it from being loaded very time. This may help cut down the stylesheet size if I look at other pages that only use one time ccs code.

    Thanks for the help
    Learning Fast.
    Eden Craft Supplies

 

 

Similar Threads

  1. Turn off right column completely
    By Vandana in forum General Questions
    Replies: 1
    Last Post: 30 Sep 2009, 09:17 AM
  2. Turn Right Hand column off on most pages
    By aussiesapphire in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Aug 2009, 08:07 AM
  3. Turn off right column in home page only
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Jul 2008, 08:18 PM
  4. Turn off left/right column for certain pages
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2008, 02:55 AM
  5. IF statement to turn off left/right column on category page
    By milkyway in forum General Questions
    Replies: 6
    Last Post: 1 Oct 2007, 08:26 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