Okay
  Public Ticket #2598412
Media Gellry: Line heights setting for subtitles does not workor
Closed

Comments

  • Hilario_del_Vaso started the conversation

    Dear Neuron Team,

    I would like to change the line height in the subtitles of a media gallery. I think there is a setting to do this in elementor, via the style tab (see screenshot). Anyway, my changes there are not taking any effect. Can you help me with this?

    Thanks a lot and best regards!

  •  933
    Neuron replied

    Hi,

    Can you please provide me with your WP-admin, I will have a quick look to see what's going on.

    Feel free to ask for anything you need.

    Kind Regards


  •   Hilario_del_Vaso replied privately
  •  933
    Neuron replied

    Hi,

    Please add the following code to Appearance > Customize  > Additional CSS.

    .m-media-gallery__item p.m-media-gallery__item-description {
        line-height: 24px !important;
    }
    

    Feel free to ask for anything you need.

    Kind Regards


  • Hilario_del_Vaso replied

    Hi and thanks for your suggestion. I think we misunderstood, I would like to change the line height of the subtitles, not the description.

    I tried with the following, but it didn't work:

    .m-media-gallery__item p.m-media-gallery__item--subtitle {

        line-height: 24px !important;
    }

    I'd appreciate if you can have a look again. Thank you!

  •  933
    Neuron replied

    Hi,

    I'm sorry for that, please add the following code to Appearance > Customize > Additional CSS.

    .m-media-gallery__item .m-media-gallery__item--subtitle font {
        line-height: 24px !important;
    }

    Feel free too ask for anything you need.

    Kind Regards


  • Hilario_del_Vaso replied

    Hi, no worries and thanks for the new code. Unfortunately, I can't see any effects. Would you mind checking?

    Thank you very much!

  •  933
    Neuron replied

    Hi,

    Maybe you need to clear the cache of your browser, we've tested it on Chrome and that code is working alright, also we tested it with a bigger value of px, and it seems to work alright.

    - https://prnt.sc/vob6hp

    Feel free to ask for anything you need.

    Kind Regards