Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1069455

    I have an icon-grid element with 2 rows of icons, and after testing the mobile version of the site, it appears that icons have too much empty space bettween each other. Any idea how to fix it?

    #1069456

    Can you target them with a media query?

    @media only screen and (max-width: Number of pixels where it starts to not look rightpx) {
    .selector {do something}
    }
    #1069620

    Hi KyriK,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1069640

    here it is

    #1070892

    Hi KyriK,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    
    @media only screen and (min-width: 479px) and (max-width: 1024px) {
      .avia-icongrid-numrow-3 li, .avia-icongrid-numrow-4 li, .avia-icongrid-numrow-5 li {
          width: 46%;
      }
      .avia-icongrid-flipbox li .avia-icongrid-front .avia-icongrid-inner {
          padding: 1em;
      }
      .avia-icongrid-flipbox li article {
        min-height: 100px !important;
      }
      #top .avia-icongrid-flipbox li {
          margin-bottom: 0px!important;
      }
    }
    @media only screen and (max-width: 479px) {
      .avia-icongrid-flipbox li .avia-icongrid-front .avia-icongrid-inner {
          padding: 1em;
      }
      .avia-icongrid-flipbox li article {
        min-height: 100px !important;
      }
      #top .avia-icongrid-flipbox li {
          margin-bottom: 0px!important;
      }
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.