WordPress.org

Forums

Shortcodes Ultimate
How to prevent vertical tabs from shrinking text inside? (2 posts)

  1. noobsayer
    Member
    Posted 1 year ago #

    I'm wanting to put posts inside tabs on my site. It works well, but when using vertical tabs, the text inside the tabs is shrunk so it's difficult to read.

    You can see what I mean here: http://archeagefurniture.com/another-test-page/

    Above the vertical tabs is the exact same code as within the tabs, and it's clearly bigger.

    Can I prevent it from shrinking?

    https://wordpress.org/plugins/shortcodes-ultimate/

  2. noobsayer
    Member
    Posted 1 year ago #

    Never mind. I thought I exhausted all my options but right after I posted (of course) I figured it out.

    In case anyone else has the same question:

    By default the text size inside the tabs was set to 13. So I went into Shortcodes>Settings from the dashboard, and this is the bit you're looking for to put in your Custom CSS pane:

    .su-tabs-pane {
    padding: 15px;
    font-size: 13px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
    background: #fff;
    color: #333;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Ultimate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic