• Resolved howdesign

    (@howdesign)


    Hi. I’ve had good luck with your plugin until the last update. I’m trying to control the display of the PDF by using some custom CSS, but my results are inconsistent. I’ve got a DIV that includes some navigation items I’d like removed when the PDF is created. Here’s my CSS selector and styling for it:

    .topmirrornav {display:none !important;}

    This does nothing. I’ve tried different CSS selectors and no luck. Some of my custom CSS appears to be working on other items, but not on custom class DIVs. I’m using Visual Composer 4.11.1 in WordPress to layout the page and specify the class DIV names. The DIV names appear in the page source and inspector.

    This used to work before upgrading the plugin.

    Here’s my page:

    https://www.kentwoodmfg.com/302-frameless-mirror/

    Thank you!

    https://www.ads-software.com/plugins/pdf-print/

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

    (@bestwebsoft)

    Hi,

    Thank you for the link. We visited your site and analyzed its HTML structure. There is incorrect navigation class title (https://prnt.sc/c76w4a). Please remove the full point and check results.

    Sincerely,
    BestWebSoft Support Team

    Thread Starter howdesign

    (@howdesign)

    Thanks for the reply. Still no luck after removing that extra dot but it appears any div I add a class name to in Visual Composer doesn’t take the custom CSS.

    If I manually add class or ID names to my code in the WordPress editor, the styling takes hold. For example, I added an ID of “topnav” to the code and can now hide it when making the PDF.

    So this looks like a problem with Visual Composer (unless you think otherwise). Thanks!

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    We’re glad that you found the solution. Feel free to contact our support team with any questions in future.

    Sincerely,
    Catherine,
    BestWebSoft Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS Styling Issue’ is closed to new replies.