Support Forum

For all questions related to themes and plugins!

Enter search keyword e.g. "footer color".

  • Registration is Required

    Registration is required to post questions to support forum. ThemeForest buyers also need to obtain Purchase code to be able to post on forum.

    Please read here how to obtain Purchase code.

#2281
Robert Kavgić
Participant

Hello,

The horizontal’s tabs text is already aligned to center. You just need to align the text for the vertical ones.

There is much simpler solution which requires adding one line to style.css to center the text in vertical tabs.

Open your css/style.css and go to about line 4861 where it’s written:

.tabs.vertical li a {
  color: #333;
  padding: 15px;
  font: 13px 'Open Sans', Arial, sans-serif;
  float: left;
  width: 100%;
  box-sizing: border-box;
}

add the following rule to the found class:

text-align: center;

So the modified code looks like the following:

.tabs.vertical li a {
  color: #333;
  padding: 15px;
  font: 13px 'Open Sans', Arial, sans-serif;
  float: left;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

Robert