Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • madhall Friend
    #201212

    Hi,

    I have modified the widths for sidebars but there are two issues:

    1) How do I change the width for sidebars in articles?
    2) In the category display page (check How it Works -> Service Provider) the width for sidebar 1 is span 2 – but i dont know how?? I havent set it and it is span 4 by the modifications I have made… so how does it display span2?

    please help

    Cheers
    madhall

    Eragon H Friend
    #549110

    Hi Madhall,

    1. The width for sidebar 1 is “span 2”:
    By default, it is “span 4”. But I can see that it is changed in your site. You can changed it to span 2 by
    Open: root/template/ja_magz/tpls/blocks/mainbody.php
    Change “span2” to “span4”

    "two_sidebars": {
    "default" : [ "' . ($allowsidebar ? 'span6 offset4' : 'span12') . '" , "span4 offset-10" , "span2" ],
    "wide" : [],
    "xtablet" : [],
    "tablet" : [ "span12" , "span6 spanfirst" , "span6" ]
    },
    "one_sidebar1": {
    "default" : [ "' . ($allowsidebar ? 'span10' : 'span12') . ' has-sidebar1 pull-right" , "span2" ],
    "wide" : [],
    "xtablet" : [ "' . ($allowsidebar ? 'span10' : 'span12') . ' has-sidebar1 pull-right" , "span2" ],
    "tablet" : [ "span12" , "span12 spanfirst" ]
    },

    2. How do I change the width for sidebars in articles?
    As I can see that you have change the “span4” to 300px;

    .span4 {
    width: 300px;
    }

    In order to show the page as normal, you also have to adjust the size of span10, which define the width of main content. In this case, you can set the width for span10 of 600px.

    Best regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Eragon H 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum