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-
AuthorPosts
-
November 30, 2015 at 5:07 pm #62012
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?
November 30, 2015 at 5:20 pm #62017Hi,
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
December 1, 2015 at 9:04 pm #62197This reply has been marked as private.December 2, 2015 at 5:27 pm #62266Hi,
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
December 2, 2015 at 6:12 pm #62278Perfect, thanks again Paolo! 🙂
December 2, 2015 at 6:22 pm #62283You are welcome 🙂
December 3, 2015 at 8:10 pm #62483I’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?December 3, 2015 at 8:35 pm #62492Hi,
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
December 3, 2015 at 8:39 pm #62493Sorry, 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.December 3, 2015 at 10:04 pm #62509Hi,
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.
December 5, 2015 at 8:58 pm #62723Thanks 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!December 7, 2015 at 4:20 pm #62850You are welcome 🙂
December 11, 2015 at 5:49 pm #63412Hi 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
December 11, 2015 at 10:38 pm #63484Hi,
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
December 12, 2015 at 8:45 am #63539Its 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 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket