Make Full Width

This topic contains 7 replies, has 5 voices, and was last updated by  eic2010 6 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #462323

    eic2010
    Full Member
    Post count: 209

    Hi
    I am struggling to make my page full width. Currently the listings and details look as though there should be a right sidebar. I have unticked the relevant boxes in the ‘Design’ feature and put the content width at 100% but this has made no difference.

    I have also tried the following css codes, but again they do not work:

    .geodir-details-sidebar-right {
    display: none;
    }
    #geodir_content {
    width: 100%;
    }

    Also tried:

    .post-type-archive-gd_place .x-main.left {width: 100%;}
    .post-type-archive-gd_place .x-sidebar {display:none;}

    but no change. Any ideas?

    #462333

    Guust
    Moderator
    Post count: 29970

    We will need to see the site, so please post your URL and WP admin details in a private reply.
    Thanks

    #462335

    Kai Liu
    Expired Member
    Post count: 368

    Most of the case it is the page template you choose. If you choose default template, it goes with your active theme. I over come this by cboosing full width template. Wish this helps.

    #462341

    eic2010
    Full Member
    Post count: 209

    Hi
    Thanks for the replies, I’ve managed to solve it using the following:

    #geodir-wrapper-content {
    width: 100%;
    }

    Thanks anyway 🙂

    #462354

    Kor
    Moderator
    Post count: 16516

    Hi eic2010,

    Good to know that you’ve solved it. Not sure if it affects other pages. Could you double check? Or try the method shared by Kai Liu and see if it works better.

    Thanks!

    #462399

    Alex Rollin
    Moderator
    Post count: 27815

    Make sure you have selected a full width page template.
    https://wpgeodirectory.com/docs-v2/themes/#switch

    #462445

    Kai Liu
    Expired Member
    Post count: 368

    I tried many methods while working on projects. I find that if you need a customized design, much easier to start from blank page, and layout the way you want it, insert widgets to any rows and columns you want to. This also avoid active theme over write you design.

    Also, popular editors (I use Elementor) have widget addon to let you insert extra kinds of widgets by just drag and drop, front end editing, fast and efficient.

    #462468

    eic2010
    Full Member
    Post count: 209

    I had chosen full width template and for some reason it didnt make any difference on those pages- the rest of the site was fine – but the code I used seems to have resolved it so I’ll stick with that for the time being.

    Thanks everyone though for your help and suggestions

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount