Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #98082
    obscurediamond
    Participant

    Struggling to locate the code to adjust the width of the main content area when there is no sidebar. It appears to only take up about 50% of the page and would like to increase it.

    #98138
    Mahesh
    Keymaster

    @obscurediamond: No Sidebar (Full Width) option is already built-in in the Pro version. I recommend you to upgrade to Pro. But if you want to make the main content area full-width or adjust as per desired, go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:

    #primary {
        width: 100%;
    }

    Regards,
    Mahesh

    #103017
    Uukuniemi
    Participant

    Halo,
    I would also like that the text in the main page take the full width, i.e. reduce the margins on both left and right sides in the white area. I tried different CSS codes but nothing works. I most likely miss something…

    #103029
    Mahesh
    Keymaster

    @uukuniemi: Please post in your site url.

    Regards,
    Mahesh

    #103030
    Uukuniemi
    Participant

    Thanks for the fast answer. Oups sorry, I forgot the link. http://www.bunyavirus.org/?page_id=4 Is that what you need? Best, PY

    #103032
    Mahesh
    Keymaster

    @uukuniemi: Add the following CSS:

    .no-sidebar.content-width #main {
        width: 100%;
    }

    Regards,
    Mahesh

    #103039
    Uukuniemi
    Participant

    Great! It worked perfect! What can I do for acknowledge you?
    Best,
    PY

    #103092
    Mahesh
    Keymaster

    @uukuniemi: Thank you for your appreciation. If you like my support and Jomsom theme then please support by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/jomsom?rate=5#postform
    Have a nice day!

    Regards,
    Mahesh

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Adjust Page Width No sidebar’ is closed to new replies.