How to Set the LIsting Page + SideBar in pixels

This topic contains 4 replies, has 3 voices, and was last updated by  Paolo 8 years, 11 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #39892

    Diane Nuguid
    Free User
    Post count: 6

    Hello,

    I want to change the max-width of the listing content on the (left) + the sidebar width. I saw the settings and only in percentage form. It is not in the middle, so I would like to change the left content to 775px and sidebar to 300px. But the left content doesn’t align in the center. It should follow this format (see attachment). Hope you can help me

    #39895

    Simone
    Expired Member
    Post count: 3515

    Hello Diane,
    a width in % it’s a common guideline to make the layout responsive.
    However, if you want to force the width for the content and the sidebar, you should play with the css,
    content is

    
    
    div#geodir_content {
    width:775px !important
    }

    and sidebar

    
    
    .geodir-content-right, .geodir-content-left, .gd-third-left, .gd-third-right, #gd-sidebar-wrapper {
    width:300px !important;
    } 

    bare in mind these settings can be overridden by your theme’s settings

    #39933

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please provide a link and we will have a look.

    I think the problem is different and it’s related to the gd_wrapper, not to the content area and sidebar.

    Thanks

    #40009

    Diane Nuguid
    Free User
    Post count: 6
    This reply has been marked as private.
    #40099

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    the theme used would require few custom functions to have the map in full width and the listings and sidebar area contained.

    At the moment by adding the .container class to gd_wrapper in GeoDirectory >> Theme compatibility we force GD templates to use the theme templates width.

    But will also contain the map and search.

    Let us know if that can work for you,

    Thanks

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

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

Open Support Ticket