WordPress.org

Ready to get started?Download WordPress

Forums

GT Tabs (formerly postTabs)
[resolved] How to print all tabs ? (4 posts)

  1. zabelle_motte
    Member
    Posted 1 year ago #

    Hello,

    I am using this plugin but I ask myself how to show all tabs while printing a tabbed page ...
    Css seems not to work. Any javascript suggestions ?

    Zabelle

    http://wordpress.org/extend/plugins/gt-tabs/

  2. zabelle_motte
    Member
    Posted 1 year ago #

    Found the solution !
    The difficulty comes from the fact that the plugin css enters the document after the global css. So that the only way to personalize the printing css for the plugin is to edit its style.php file and adding these lines at the end :

    @media print {
             .GTTabs {display:none;border:0 none;}
    	.GTTabs li a {display:none;border:0 none;}
    	.GTTabs li.GTTabs_curr a {display:none;border:0 none;}
    	.GTTabs_titles{display:block !important;border-bottom:1px solid;}
    	.GTTabs_divs {display:block !important;}
    }

    Thanks a lot for this simple tabs plugin !

    Zabelle

  3. zabelle_motte
    Member
    Posted 1 year ago #

    Resolved

  4. Diomenas
    Member
    Plugin Author

    Posted 1 year ago #

    Zabelle, I will add that into the plugin and release a new version, thank you for the code add-on!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.