Forums

[Plugin: postTabs] posttab add css to? (2 posts)

  1. gbaka
    Member
    Posted 2 years ago #

    how would I start to add CSS to this plugin?
    to alter it's appearance such as changing its position its appearance, I know how to use CSS I just don't know how to add it to the plugin to change it's appearance...
    http://wordpress.org/extend/plugins/posttabs/

  2. sil.linguist
    Member
    Posted 2 years ago #

    There is CSS in the plugin directly.... I edited the default CSS by going through the plugin editor built into WordPress.

    But I also found this tip here: http://beeex.net/web-development/wordpress/plugins/10-excellent-promising-wordpress-plugins-some-brand-new

    What a few of you might miss is an option to style the content of the tab itself (not just the title). For instance, we added a light grey border to the content of this tab unit (it’s the border running around this very text). How?

    The class for the tabs is postTabs_divs, and you can use it to style the tabs with CSS. Simply add this line to your theme’s style.css, and you get what we got right here:

    .postTabs_divs { border:1px solid #dcdcdc; margin-top:-12px; }

    The border explains itself, and the negative top margin was added so that the content div would match the position of the tab bar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags