Autoptimize small problem

This topic contains 3 replies, has 2 voices, and was last updated by  Giri 7 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #371907

    Denis P
    Expired Member
    Post count: 134

    Hi , I have already read and set the settings here: https://wpgeodirectory.com/docs/autoptimize-settings/
    Witch working great and giving a good rank on PageSpeed Insights, Pingdom, Gtmetrix etc.
    I enable Optimize JavaScript and CSS with no prob.
    But when i enable Optimize HTML Code a small problem appears on site homepage.
    The gap between the place boxes is lost..
    See the attached images
    In img 1 is with Optimize HTML Code Disabled
    In img 2 is with Optimize HTML Code Enabled (The gap between the place boxes is lost)

    Is there any CSS code or something to fix this properly?

    #372063

    Giri
    Expired Member
    Post count: 3155

    Hi Dennis,

    Please post your site url where i can see those grids. Also post your admin login. So i can inspect and give you code.

    #372125

    Denis P
    Expired Member
    Post count: 134
    This reply has been marked as private.
    #372203

    Giri
    Expired Member
    Post count: 3155

    Hi Denis, Since your html code minimized it removes the spaces in html.So the only way you can fix that problem is by adding margins

    
    
    .geodir_category_list_view li.gridview_onefifth {
      margin-left: 2px;
      margin-right: 2px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket