Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #674868

    This is continuing my previous post: /support/topic/icon-list-on-mobile-crunched/

    Hello Support,

    I’m attempting to make the icons smaller and the font on the icon title smaller so that everything fits cleanly.
    (Some titles are cut-off)

    I put the following code in:

    /*** icons list for mobile ***/
    @media only screen and (max-width: 480px) {
    .closer-look {
    padding: 50px 0 !important;
    height: 44px !important;
    width: 44px !important;
    line-height: 44px !important;
    font-size: 10px !important;
    }
    .closer-look h4.iconlist_title {
    font-size: x-small !important;
    }
    }

    What am I missing?

    Sincerely,
    Greg

    #676136

    Hey Greg,

    Thank you for using Enfold.

    Add this css code inside the css media query:

    .closer-look .avia-icon-list .iconlist_icon {
        height: 44px;
        width: 44px;
        line-height: 44px;
        font-size: 16px;
        margin-right: 30px;
        margin-left: 10px;
    }
    
    .closer-look .avia-icon-list .iconlist_title {
        font-size: 12px !important;
    }

    Best regards,
    Ismael

    #676688

    Hello Ismael,

    The size of the icons looks good now – but the list element as a whole is still too narrow.

    link to screenshot from mobile

    I added the following, it didn’t give more width to the element as a whole:
    .closer-look .avia-icon-list {
    width: 95%;
    }

    Can you help us fill more of the mobile screen so the bulk of the text is easier to read? I might go a bit smaller with the actual icons once the width is knocked out – but good for now and I know how adjust your css accordingly to do so.

    Sincerely,
    Greg

    #678735

    Hi,

    Decrease the padding of the columns in order to create more space for the content.

    @media only screen and (max-width: 767px) {
        .page-id-62 #av_section_2 .flex_column:nth-child(2) {
            padding: 10px !important;
        }
    }

    If you will apply a Section ID containing the icon list, you can replace the “#av_section_2” selector with it.

    Best regards,
    Ismael

    #681867

    Hello Ismael/Support,

    I think this is wrapped – I should have been more detailed in my request…

    I needed the solution for all the subpages under the main “Closer Look” nav element.

    But I think I adapted the CSS correctly. Can you give the 5 pages a once over and make sure I have the css correct?

    If this is above and beyond support – I support that call! :-)

    Sincerely,
    Greg

    #683182

    Hi,

    remove page-id in Ismael’s code.

    Best regards,
    Andy

    #685388

    Hello Support,

    We can close this – thank you.

    ~ Greg

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘icon list on mobile – "crunched" continued (reference #672102)’ is closed to new replies.