• Resolved wwwolf

    (@wwwolf)


    I love this, and the client I’ve just installed it for likes it too – except that, weirdly, not all the text is re-sizing: specifically anything in a bulleted list (unless further enclosed e.g. as a link).

    Anything I can do to fix that? I can’t see why, except noticing that the plugin is not inserting the ‘data-wahfont’ property in the li elements, the way it is in the p (for example) so, as far as I can see, it’s NOT that something aggressive in the theme/child css is overriding it.

    Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alex Volkov

    (@vol4ikman)

    What type of font resize do you use?
    Does your theme uses rem units for the font size or px?

    Thread Starter wwwolf

    (@wwwolf)

    Thanks for getting back to me so quickly ??

    The theme (Responsive Pro), while I like it in other ways, is a little bit messy on fonts, using a mixture of em and px units, and I confess I’ve done similar in the child theme ?? …
    but def no rem units as far as I know. I had a good look at the css in the Firefox Inspect and can’t see anything odd there.

    I don’t really understand the ‘data-wahfont’ attribute, since it shows up when I ‘Inspect’ but not when I ‘View Source’, so I’ll take a screen grab since I can’t block and copy from Inspector. This is from the same page as the link attached to my OP:
    https://naomiwoodspring.com/wah-code-grab-inspector.png

    Why would the plugin add ‘data-wahfont’ attributes to ‘p’, ‘h3’ and a elements and not to ‘ul’ or ‘li’? I assume that’s why it’s not re-sizing.

    Thanks!

    Plugin Author Alex Volkov

    (@vol4ikman)

    You are absolutely correct.
    In the most WordPress themes if I add ul and like elements to the resizable elements, it will broke the site visuality ( not in your specific theme maybe).. So ul and li elements are not included… You can add it by yourself in plugin script.

    Thread Starter wwwolf

    (@wwwolf)

    Aha! I see… that makes sense, since lists are used to create so many menus etc. I’ll have a look at the script when I can, though I may not understand it ??

    Before I do… could it be done selectively using either a class in the li itself, or wrapping the contents in a span with a custom class? That might be a neat feature actually – if you had a ‘force resize’ class that could be added to an attribute to include it in the behaviour…? ??

    Thanks again so much for your clear and speedy responses!

    Thread Starter wwwolf

    (@wwwolf)

    Actually, that suggestion (above) in both directions – would it be possible to add classes that either force inclusion or force exclusion from the resizing behaviour? I’ve just had a little battle with the css in a slider! ??
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not all text resizing’ is closed to new replies.