• Resolved Iraklis Kostalas

    (@kiiraklis94)


    It seems that for some reason, when I add a the shortcode to a post, it also prints some random CSS above the timer itself.

    The css seems is .wpcdt-timer-12913 .wpcdt-clock{max-width: 750px;} and it seems to appear only when I set Timer Width in Design Settings.

    Thanks.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Actually, our plugin dynamic option for width.
    Please refer to the below screenshot and set the countdown timer width.
    https://prnt.sc/1j0t9kh

    Please tell me what about our problem actually width options-general settings in our plugin.

    Thanks,

    Thread Starter Iraklis Kostalas

    (@kiiraklis94)

    Hello. Yes this is the setting I’m talking about.

    When I input something in there (like “750” for example), the CSS code I mentioned in my original post is printed as plain-text above the timer.

    See this for example: https://prnt.sc/1j2d3id

    Thank you.

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    We have checked your website and we are not found any CSS issue.
    Please refer to the below screenshot.
    https://www.awesomescreenshot.com/image/11563352?key=3536587dc80aafee22adf96e3a16f6ee

    Please tell me about your website which browser you are having an issue with for CSS display.

    Please check and please share a full-page screenshot.

    Thanks,

    Thread Starter Iraklis Kostalas

    (@kiiraklis94)

    You haven’t found an issue because I’ve corrected it by removing (Emptying) the Timer Width option.

    If I input anything in it, it appears as my original image.

    https://prnt.sc/1jcuqq9

    For the image above, I set the Timer Width to 650. You can see that the CSS is printed as plain text above the timer. There’s probably a </style> tag missing somewhere in the plugin’s code.

    You can’t see it on the live version because I reversed the setting to empty after I took the screenshot.

    Took a look at the code for you, and it seems that CSS is generated in line 138 of the wpcdt-functions.php file.

    It is then fed into a filter.

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    We have checked the “hello-elementor” theme and “elementor” plugin but it does not display any CSS issue.

    Please go to our website and join our live chat because we need to check your website.

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode prints css on page’ is closed to new replies.