Text font size within sidebar equivalent to main content?

Home Forums Reykjavik Text font size within sidebar equivalent to main content?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19814

    wuesl
    Participant

    Text font size within sidebar equivalent to main content?

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    Hello,

    what is the smartest way to set text font-size within sidebars equivalent to main content texts?

    Now I do this via css in my child theme:

    aside#secondary.widget-area.sidebar  {
    	font-size: 1em !important;
    }

    But maybe there is a smarter way to do this?

    Thanx
    Ulrich

    • This topic was modified 3 weeks ago by  Oliver Juhas. Reason: Formatting code
    #19816

    Oliver Juhas
    Keymaster

    Hi Ulrich,

    Your code is too specific and you can indeed use a simpler custom CSS:

    .sidebar {
    	font-size: 1em;
    }

    Best regards,

    Oliver Juhas
    WebMan Design

    #19817

    Oliver Juhas
    Keymaster

    You can actually use alternative custom CSS if that makes more sense:

    .sidebar {
    	font-size: 100%;
    }

    Best regards,

    Oliver Juhas
    WebMan Design

    #19818

    Oliver Juhas
    Keymaster

    By the way, congrats, you’ve built beautiful website using Reykjavik theme! :)

    Best regards,

    Oliver Juhas
    WebMan Design

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.