Layout issue – GD width for Newsman theme

This topic contains 13 replies, has 4 voices, and was last updated by  Paolo 9 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #56818

    John Rozzo
    Expired Member
    Post count: 7

    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/

    #56849

    Guust
    Moderator
    Post count: 29970

    Try

    
    
    #geodir-wrapper {
    width: 1020px;
    margin: auto;
    }

    Check this out for the future:
    https://wpgeodirectory.com/docs/customizing-your-style/

    #56935

    John Rozzo
    Expired Member
    Post count: 7

    Thanks…

    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 > Scripts

    and 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.

    #56936

    John Rozzo
    Expired Member
    Post count: 7
    This reply has been marked as private.
    #56957

    Guust
    Moderator
    Post count: 29970

    I 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/#w3cache

    #57138

    John Rozzo
    Expired Member
    Post count: 7

    Thanks 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?

    #57165

    Guust
    Moderator
    Post count: 29970

    Look at the CSS I added in the first site (I changed it from the original suggestion)

    
    
    #geodir-wrapper {
    width: 1192px;
    margin: auto;
    }
    #57275

    John Rozzo
    Expired Member
    Post count: 7

    Thanks for your help – worked great! 🙂

    #57278

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #58126

    Harsha M
    Free User
    Post count: 4

    So, 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!

    #58179

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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,

    #58227

    John Rozzo
    Expired Member
    Post count: 7

    Thanks, Paolo….Yes, Harsha – try using 1192 as the width, though you may need to experiment depending on the theme settings.

    #58231

    Harsha M
    Free User
    Post count: 4

    Hi 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?

    #58296

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    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

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