Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author demur

    (@demur)

    Hi Cat!

    To adjust font size You have to add custom CSS to override default size (by default it’s only 10 pixels).
    Given below CSS should be pasted in the Custom CSS textbox at Dashboard -> Settings -> Document Gallery:

    .document-gallery .document-icon a {
        font-size: 14px !important;
        line-height: normal !important;
    }

    Feel free to modify values so the result meets Your needs.
    Hope this will do the job for You.

    Thread Starter Cat

    (@mvankampen)

    Thank you!
    It worked perfectly ??

    In the same way I had hoped to adjust the text-align to left instead of center, so I added

    text-align: left !important;

    (before the closing } )

    but unfortunately that didn’t do the trick.
    Could you help me out on this one too?

    Plugin Author demur

    (@demur)

    Hi Cat!

    We are glad that it worked out for You.

    You are on the right track with the text-align thing.
    The only thing that keeps You from getting the desired result is the cascade nature of the CSS. You are trying to have the text aligned inside the span by setting CSS rule for its parent (a), but span won’t inherit this property (text-align), even the !important one, due to having personal (specific) CSS rule defining this property (talking about default Document Gallery setup).
    One of many solutions would be just to change the target of the used rule to:
    .document-gallery .document-icon a span

    Hope this also will do the job for You.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bigger font’ is closed to new replies.