• Resolved Guillaume

    (@gcoqueblin)


    Hello,

    I have done the upgrade to v3, and I don’t understand how to manage font size for introduction block ?
    I tried creating a new resume from scratch, but even with “hello world” the font size is too high.
    I also tried copying text from the demo site, and it is not the size I want too
    I tried to change in the page itself from paragraph to heading, but this is worse.
    I tried to use shortcode blocks instead in the wp page, but nothing changes.

    Can you please tell me where I should look or where I can find the solution ?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Justin Scheetz

    (@justinscheetz)

    The font size is not set by the plugin, so it’ll use whatever the theme default is for the introduction, specifically <p> tags. If you want to force the size yourself, you can add some custom CSS:

    .rb-template-default .rbt-introduction p { font-size:14px; }

    Thread Starter Guillaume

    (@gcoqueblin)

    Hi Justin,

    Thanks it worked well.
    But I didn’t notice it was the same for the following blocks.
    When I put the following css in developer mode it works fine and display is nice
    #rb-template-888,
    #rb-template-888 .rbt-history-blocks .rbt-history-block { color: #000000; font-size:14px; line-height:normal;}

    But when I add this to my wp custom css it breaks it again work.

    .rb-template-default .rbt-introduction .rbt-history-blocks .rbt-history-block p { font-size:14px; line-height: normal;}

    Sorry I know this is just an issue being noob with css, which shouldn’t be discussed here, but would you please help me ?

    Thank you very much

    Plugin Author Justin Scheetz

    (@justinscheetz)

    @gcoqueblin You can’t use the #rb-template-888 because that number is randomly generated on each page load. You need to stick with the .rb-template-default as the starting element. If it’s still not working, you can always throw an !important tag next to the one that’s not working. Not recommended, but a good last resort!

    .rb-template-default .rbt-introduction .rbt-history-blocks .rbt-history-block p { 
        font-size:14px !important;
        line-height: normal !important;
    }
    Thread Starter Guillaume

    (@gcoqueblin)

    Hi Justin,

    thanks a lot for your quick reply.
    I couldn’t have it working properly even with !important

    So I changed my theme. Not the option I wanted but it works fine now (except after the 3.0.2 update ??

    Thanks again !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to change font size in introduction’ is closed to new replies.