Layout issue – GD width for Newsman theme
This topic contains 13 replies, has 4 voices, and was last updated by Paolo 9 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 14, 2015 at 2:11 am #56818
I cannot adjust the width for GD into the NewsMag template. I tried the solution proposed in this thread:
https://wpgeodirectory.com/support/topic/layout-problem/
I also tried this code in the theme’s custom CSS:
#geodir-wrapper {
width: 1040px;
margin: auto;
}
.geodir_full_page {
margin: 0 auto;
max-width: 1040px;
}None of these improved the integration into the site – Please see: http://jotisima.com/directorio/
October 14, 2015 at 9:50 am #56849Try
#geodir-wrapper { width: 1020px; margin: auto; }
Check this out for the future:
https://wpgeodirectory.com/docs/customizing-your-style/October 15, 2015 at 1:57 am #56935Thanks…
I added your code via FTP into the style.css of the *Child* theme, cleared cache and when that didn’t display I tried adding it into the Theme Panel Custom CSS. Still no luck. I also tried placing the code in the Custom CSS field of:
GD > Design > Scriptsand also the style.scss of the *Parent* theme.
These methods were unsuccessful and the instructions on the link for theme customization i missing image; although I am a site admin, there is no Editor in the Appearances menu.
Please confirm which file or Dashboard location permits custom code. Let me know if you have additional methods to adjust the CSS, or if you want me to privately send you credentials.
October 15, 2015 at 2:05 am #56936This reply has been marked as private.October 15, 2015 at 9:56 am #56957I added the CSS to GD > design > scripts.
And I de-activated your caching plugin, that’s most likely why you cannot see any changes.
https://wpgeodirectory.com/docs/known-issues/#w3cacheOctober 16, 2015 at 2:14 am #57138Thanks for the help – it looks nice! 🙂
I’m still a little perplexed, though. You deactivated the cache plugin but didn’t install GD Booster (I did but it then failed to load CSS) …but do I truly need it for GD to optimize the listings and the site?
On another site running GD with the same layout problem, I deactivated the existing caching plugin and added the exact CSS code to another site, but it did not display – see here: http://eastcobber.com/places
I understand that the width may be different (1192px) but that definition did not work either. What could be the cause on that site?
October 16, 2015 at 10:15 am #57165Look at the CSS I added in the first site (I changed it from the original suggestion)
#geodir-wrapper { width: 1192px; margin: auto; }
October 17, 2015 at 1:14 am #57275Thanks for your help – worked great! 🙂
October 17, 2015 at 1:42 am #57278You’re welcome 🙂
October 27, 2015 at 10:59 am #58126So, to be very very clear! What is the workflow to enable GeoDirectory to Work with NewsMag? Can you mention the steps please!
Currently GD is coming in full width as shown in the screenshot!
October 27, 2015 at 6:17 pm #58179Hi,
you can instruct GeoDirectory templates to use the same html classes and IDs used by the theme tamplates via GeoDirectory >> Theme Compatibility.
If you provide a link to your website (mages can’t be inspected), we’ll give you more pointer for your specific theme.
Or you can add css to the orginal GD wrapper like Guust explained in previous replies here.
Adding the following CSS to GeoDirectory >> design >> script >> custom css. will do it:
#geodir-wrapper { width: 1020px; margin: auto; }
Let us know,
October 28, 2015 at 2:38 am #58227Thanks, Paolo….Yes, Harsha – try using 1192 as the width, though you may need to experiment depending on the theme settings.
October 28, 2015 at 4:15 am #58231Hi Paolo & John, Thank you!GD got adjusted to the Theme width now.
However, it is still overriding the default sidebar of the theme. How to overcome that?
October 28, 2015 at 6:00 pm #58296Hi,
GeoDirectory adds templates and all include their own sidebars. The theme sidebar will be used on regualr pages and the blog, but not on GD pages.
https://wpgeodirectory.com/docs/layout/
Let me know if I misunderstood your question…
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket