• plugins/mega-addons-for-visual-composer/css/slick-carousal.css

    Line 405
    .tdt-slider h1, h3, p, span {

    This is setting

    • .tdt-slider h1
    • h3
    • p
    • span

    to be font-size: 15px !important;

    Of course, this is wrong. You did not mean to set the last 3 items. Maybe you meant .tdt-slider h3 etc. You can’t use a comma like that. You need to add .tdt-slider each time.

    Also you shouldn’t use !important all the time. It’s not needed since nobody else is going to use .tdt-slider

    • This topic was modified 5 years, 8 months ago by funsail.
    • This topic was modified 5 years, 8 months ago by funsail.
    • This topic was modified 5 years, 8 months ago by funsail.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nasir179125

    (@nasir179125)

    Hello funsail,

    Thank you for keeping alert on bug issues.

    Yes you are right this is wrong CSS code.
    Anyway I already fixed that issue In new version 3.1

    !important property apply only in mobile devices just for keeping responsive design.
    If I remove It “!important” then text size does not change.

    Thread Starter funsail

    (@funsail)

    I also found this:

    A non well formed numeric value encountered in <b>wp-content/plugins/mega-addons-for-visual-composer/render/infobox.php</b> on line <b>50</b><br />
    58px; font-size: 22px; color: ;”

    Sadly I cannot use 3.1 until you can work out how I can use rem and em instead of px for sizes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS bugs breaking themes.’ is closed to new replies.