Site logo

[Resolved] Issue with font size not working in the custom section

Home Forums Support [Resolved] Issue with font size not working in the custom section

Home Forums Support Issue with font size not working in the custom section

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2473481
    99gp

    Hello,

    I imported the newsroom theme and installed a child theme.

    I’m trying to change the general font size for my website but when I change it in the theme custom section and go to base font, it doesn’t work.
    If I inspect, it shows me 1rem size, and apparently this comes from reboot.css
    When I look at this reboot.scss through browser inspect, it says

    body {
    margin: 0; // 1
    font-family: $font-family-base;
    @include font-size($font-size-base);
    font-weight: $font-weight-base;
    line-height: $line-height-base;
    color: $body-color;
    text-align: left; // 3
    background-color: $body-bg; // 2
    }

    Shouldn’t these variables be replaced with the values from the custom section when I inspect it?
    How can I set my overall body font size to 1.2rem ?

    #2473540
    David
    Staff
    Customer Support

    Hi there,

    those styles are not coming from GeneratePress, they are coming from bootstrap that is installed on your site.

    #2473684
    99gp

    Thanks I found out bootstrap was hardcoded in the header by a previous owner, removed it and i’m fine

    #2474869
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.