Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1264974

    Hello together
    I have created a gallery with various photos
    everything works out fine
    my question
    when I open a photo in the gallery, the title of the photo appears below, which is included in the media library

    can I format this title
    font size font etc.

    kind regards
    Franz

    #1264977

    Hi, yes you can do that using the follwing CSS:

    .mfp-title {
        font-size: 20px;
    }
    #1264997

    Thanks cherrmann
    for your quick message

    but nothing changes in size

    kind regards
    Franz

    #1265083

    Hi,

    Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.

    Best regards,
    Jordan Shannon

    #1265138

    Hello Jordan
    in my opinion I have done everything

    Can you take a look at it

    best regards
    Franz

    #1265153

    well the given css has one selector more than the above – and then it is more specific :
    Try:

    div .mfp-title {
        font-size: 20px;
    }

    you see that the rule with the div wins that competition ;)
    and if you want to be sure that your custom css overrules the given one take the #top rule

    https://specificity.keegan.st/

    #1265260

    Thank you Jordan and Guenni
    Now it fits

    you can close this ticket

    a beautiful christmas time
    Franz

    #1265316

    Hi schweg33,

    Great :)

    We are closing the thread.

    If you need further assistance please let us know in a new one.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘format title in galerie’ is closed to new replies.