• Resolved wotik

    (@wotik)


    I have a problem with changing the font size for this plugin. After inserting shortcode’a declare for him in the style of (<p> <div> <span>, etc …) font size (font-size), but they would not specify the size, always displays the same. Other attributes (color, bold, etc) can change without a problem. I am using the theme ResponsiveBoat (1.1.4).
    I do this example:
    <div style = “font-size: 80px”> [countup start = “0” end = “755”] </ div>
    In what may lie the problem?

    sorry for my English ??

    best regards
    Wojtek

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

    (@rokumetal)

    Hi wotik, thanks for install my plugin.

    This is weird, I tested your code and it works well on my theme, so maybe it’s your theme or something else.

    But try this:

    <div style="font-size: 80px !important;">[countup start="0" end="755"]</div>

    Notice the !important word.

    If that doesn’t work, you still can try this:

    Every counter has this CSS class: “counter” and its own ID for every one: “counter-0”, “counter-1”, and so on…

    So you need to create a new CSS rule in your theme, for example, if you want to apply the font-size to every counter:

    .counter {
       font-size: 80px;
    }

    Or if you want to apply to an specific counter:

    #counter-0 {
       font-size: 80px;
    }

    Test it, and let me know if it worked. Thanks! ??

    Thread Starter wotik

    (@wotik)

    Hi

    Adding style declarations in CSS solves the problem!
    Thanks a lot!

    Best regards,
    wotik

    Plugin Author Roel Magdaleno

    (@rokumetal)

    I’m glad that it worked!

    Thanks for using my plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Font size – problem’ is closed to new replies.