• This topic has 16 replies, 3 voices, and was last updated 10 years by mary.
Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Supreme
  • #5690
    mary
    Member
    Post count: 14

    Hi,

    Is it possibe to change the width of the sidebar to half of width?

    Thanks
    Mary

    #5695
    Ben – SUPPORT
    Member
    Post count: 690

    Hey,

    Currently the sidebar is set to 1/3rd of the page and the content is the remaining 2/3rds without changing classes on the page you could add


    .sidebar{width:150px;}
    #page-wrap .alpha{width:770px;}

    to your css

    Regards
    -Ben

    #5859
    mary
    Member
    Post count: 14

    Thanks Ben. I’m not at all familiar with any programing so I have no clue where I must add the code in the css… I have opened the editor… do I have to add it at the end of the code related to the sidebar?..

    /* #Sidebar
    ================================================== */

    #5884
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey Mary,

    You can add that code in the Custom CSS box under the General theme options.

    Just to be safe that it overrides the default values, add it like this:

    .sidebar{width:150px !important;}
    #page-wrap .alpha{width:770px !important;}

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5967
    mary
    Member
    Post count: 14
    This reply has been marked as private.
    #5980
    Ben – SUPPORT
    Member
    Post count: 690

    Could you possible send a link to the website I’ll be able to see what seems to be going wrong with it then.

    Thanks
    – Ben

    #6049
    mary
    Member
    Post count: 14
    This reply has been marked as private.
    #6103
    Ben – SUPPORT
    Member
    Post count: 690

    Try

    .sidebar{width:150px !important;}
    #page-wrap .page{width:770px !important;}
    

    Instead

    Regards,
    BenSheppard

    #6116
    mary
    Member
    Post count: 14

    Perfect! It works.
    Thanks

    #6187
    mary
    Member
    Post count: 14
    This reply has been marked as private.
    #6319
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Increase the page width that you’ve defined with custom CSS.

    This is what you have:

    #page-wrap .page {
        width: 770px !important;
    }

    Increase it at 935px.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #7196
    mary
    Member
    Post count: 14

    Hi again,

    I have changed it to 935px. and now the sidebar comes at the end of the page. Also the pages that don’t have a sidebar shows the space for it.. any ideas?

    Thnaks
    Mary

    #7660
    mary
    Member
    Post count: 14

    Hello,

    Is there a way that I can aply only the following
    #page-wrap .page{width:770px !important;}

    for the pages were I have a sidebar and not for the rest, like the home page, ..?
    If I keep it for all then the home page and others will not show right. i have tried to chage it to 935px. but then the pages with a sidebar don’t look right.

    Thanks
    Mary

    #7701
    Ben – SUPPORT
    Member
    Post count: 690

    Try

    .sidebar{width:150px !important;}
    .has-one-sidebar #page-wrap .page{width:770px !important;}
    

    Thanks
    Ben

    #7723
    mary
    Member
    Post count: 14

    Ok Have tried that, pages with no sidebar look good, but pages with sidebar shows a space between the sidebar and the rest of the page content..

    Attached screenshot

    http://nkp-expeditions.com/namibia-1/

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register