pages not displaying full width

This topic contains 36 replies, has 3 voices, and was last updated by  Paolo 9 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #62012

    miles276
    Expired Member
    Post count: 46

    Hi, i seem to have an issue with several of my pages not displaying the full width of the page, the search results page, add listing page, the profile page (and possibly more hat i haven’t discovered yet). My home page was also doing this but i then went on to ‘pages’ in the dashboard and changed it from default to full width, which solved the issue for that page, however I cant locate the other pages in this section of the dashboard to do the same?

    #62017

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    that’s because they are not pages and they use different templates.

    For search you should be abelt o do that via GeoDirectory >> Design >> Search. Put 100 for content area and disable the sidebar.

    For add listing page it will require css, please provide a link and we will show you how to do it.

    Thanks

    #62197

    miles276
    Expired Member
    Post count: 46
    This reply has been marked as private.
    #62266

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    yes it is due to the theme layout and css.

    Please add this to GeoDirectory >> Design >> Scripts >> Custom CSS

    
    
    .single-gd_tradesperson #content, .geodir_custom_posts #content {
        width: 100%;
    }

    This should do it.

    Let us know if you find anything else wrong.

    Thank you

    #62278

    miles276
    Expired Member
    Post count: 46

    Perfect, thanks again Paolo! 🙂

    #62283

    Paolo
    Site Admin
    Post count: 31211

    You are welcome 🙂

    #62483

    sithonia
    Full Member
    Post count: 63

    I’m also trying to remove the sidebar from detail pages of a certain custom type, but the css above won’t work for me. I’m using x-theme and saw on another post on this forum that it works differently then. (https://wpgeodirectory.com/support/topic/remove-sidebar-from-places-page/)
    Could you please share how you got it to work on an x-theme site?

    #62492

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    please provide a link for the page where you want to hide the sidebar in a private reply and we will provide the correct css.

    Thanks

    #62493

    sithonia
    Full Member
    Post count: 63

    Sorry, can’t do that since I’m working on it locally only for now. Couldn’t you just help with pointing in the right direction on how to do it? How is it different on the x-theme? I’m using the Integrity stack.
    Thankful for any tips.

    #62509

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    it really depends, for example if you want to hide the sidebar in the /places/ listings page you would need this css:

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

    You should be able to check this things with firebug or chrome developer tools: https://wpgeodirectory.com/docs/customizing-your-style/

    Hope this helps.

    #62723

    sithonia
    Full Member
    Post count: 63

    Thanks a lot! I was trying to figure it out with Firebug, and you helped to point me in the right direction!
    Thanks for your quick support and answer!

    #62850

    Paolo
    Site Admin
    Post count: 31211

    You are welcome 🙂

    #63412

    miles276
    Expired Member
    Post count: 46

    Hi Again Paolo, i have just come to work on the rest of my pages and found that the code you have given me has made them all full screen as well so i have no side bar to them, only the ‘geo directory pages’ now have a sidebar, is it possible to create any new pages that i want using the geo directory default page instead of the theme default page…? Alternatively i know that you do themes as well, do you have any that look similar to my current theme? If so I might just swap it over completely to prevent anymore compatibility issues, my site is http://www.tradesrater.com, thanks in advance

    #63484

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    the code I gave you shouldn’t make any of the page ful lwidth other than the listing page for the CPT places.

    Which other page do you see affected. It looks like you removed the code.

    Let us know,

    Thanks

    #63539

    miles276
    Expired Member
    Post count: 46

    Its happened with the rate a tradesperson page, contact us page and about us page, when you say there is some code missing, what is actually missing and where? I have someone who is customising my site at the moment so if there is code missing I can only assume that he has deleted it in error, can you see exactly what’s missing and from where… I would speak to my developer but it’s quite challenging for me to understand him…
    Thanks in advance

Viewing 15 posts - 1 through 15 (of 37 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