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

    Hello,

    I have a accordion slider in my homepage open page but how is it possible to have different font size in Desktop and in Mobile?

    I had one question allready about the fullwidth easy slider and I received a code:

    @media only screen and (max-width: 767px) {
    #top .aviaccordion-preview-title h3 {
    font-size: 13px !important;
    }

    But now I need to customize the accordion slider in the same way.

    Best Regards,

    #692810

    Hey pimroll,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 767px) {
    h3.aviaccordion-title {
        font-size: 12px!important;
    }}
    

    Best regards,
    Yigit

    #692969

    Hello Yigit,

    I added the code but I think nothing changed?

    #692993

    Hi,

    Thanks for getting back in touch.

    The first code you are using already affects the font size on the accordion slider and overrides Yigit’s code. You can remove the latter code and use yours. You may not be seeing the changes because you probably need to clear your browser’s cache but the effect does happen. Currently using your code I have set the font size to 20px on mobile and it is working.

    Please check and let me know!

    Best regards,
    Jordan

    #693886

    Hello Jordan,

    Thanks, now I see it working, keep up the good work:)

    Best Rgeards,

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to change accordion slider text size’ is closed to new replies.