Need to adjust padding on these Zozo Tabs

Hi I'm using the Zozo Tabs Jquery Plugin.
I want all the tabs on one line. I added a new tab and now things have shifted to two lines. I've spent about an hour trying to figure out how to adjust the padding on the tabs so they all will fit on one line.

Can anyone see what I'm missing?

http://bodyphd.com/specialist/robert-lee/

Thanks!
LVL 9
Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
I don't seem to see the problem, for me they are all on 1 line ... Maybe I'm missing something though, can you provide a screenshot?

Did you try different browsers, restarted the browser... I'm using Firefox on a Linux platform.
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Sorry about that.
I was looking at a preview. I've published and you can now see the problem.

Robert-Lee-TEST---BodyPHD-1.jpg
0
Zephyr ICTCloud ArchitectCommented:
Is there a reason you're using the width element on the tabs?, if you remove them all it doesn't look too bad, not completely there yet but it's a start... Just asking before I start barking up the wrong tree.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Is this showing up in the zozo css or the style.css?
0
Zephyr ICTCloud ArchitectCommented:
In the html, if you adjust this piece like this it's back to normal I think...

<ul class="z-tabs-nav z-tabs-desktop">
<li class="z-tab z-first z-active z-first-col z-first-row" data-link="tab1" style=""></li>
<li class="z-tab z-first-row" data-link="tab2" style=""></li>
<li class="z-tab z-first-row" data-link="tab3" style=""></li>
<li class="z-tab z-first-row" data-link="tab4" style=""></li>
<li class="z-tab z-first-row" data-link="tab5" style=""></li>
<li class="z-tab z-first-row" data-link="tab6" style=""></li>
<li class="z-tab z-first-row" data-link="tab7" style=""></li>

Open in new window

0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I can't rearrange. Those classes are automatically generated. When I remove a tab, everything fits on one line. When I add a new one I get the width % on the tabs and two slip to the second line.

You can see here how the width is auto with less tabs:

http://bodyphd.com/specialist/danielle-grunkemeyer/
0
Zephyr ICTCloud ArchitectCommented:
How are you adding the tabs? Strange that by just adding a few new tabs the whole thing goes bonkers.
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Here's my code. I'm using a bunch of custom fields so there's some conditional PHP:

<ul>
        <li><a>Qualifications</a></li>
				<li><a>Testimonials</a></li>                         
				<li><a>Classes</a></li>
				<li><a>Location(s)</a></li>
				<?php if(get_field('subscriber_non_subscriber') == "Option 1") { echo ''; } else { ?><li><a>Forms</a></li><?php }?>
				<?php if(get_field('subscriber_non_subscriber') == "Option 2") { if(get_field('option_2_account') !=false) { ?> <li><a href="<?php the_field('option_2_account'); ?>" target="_blank" >My Account</a></li> <?php } } ?>
				<?php if(get_field('subscriber_non_subscriber') == "Option 3") { if(get_field('option_3_account') !=false) { ?> <li><a href="<?php the_field('option_3_account'); ?>" target="_blank" >My Account</a></li> <?php } } ?>
				<li><?php if(get_field('subscriber_non_subscriber') == "Option 2") { if(get_field('subscriber_contact_email') !=false) { ?><a href="<?php the_field('subscriber_contact_email'); ?>" target="_blank">Contact</a> <?php } } ?> 
				<?php if(get_field('subscriber_non_subscriber') == "Option 1") { if(get_field('contact_email') !=false) { ?><a href="<?php the_field('contact_email'); ?>" target="_blank">Contact</a><?php } }?>
				<?php if(get_field('subscriber_non_subscriber') == "Option 3") { if(get_field('option_3_contact_email') !=false) { ?><a href="<?php the_field('option_3_contact_email'); ?>" target="_blank">Contact</a> <?php } } ?></li>
			</ul>

Open in new window

0
Zephyr ICTCloud ArchitectCommented:
It's getting late here ... I'll have another look tomorrow/later today since it's already tomorrow apparently

Could it be that it now is going to the responsive settings as previously it wasn't?
0
Zephyr ICTCloud ArchitectCommented:
Had another look with a clear head ... Somewhat... :-)

in the css file zozo.tabs.flat.min.css position 122 I added the display part like below which made the tabs be lined up again...
.z-tabs.flat.horizontal.top > ul.z-tabs-nav,.z-tabs.flat.horizontal.top > ul.z-tabs-nav > li,.z-tabs.flat.horizontal.bottom > ul.z-tabs-nav,.z-tabs.flat.horizontal.bottom > ul.z-tabs-nav > li {
	margin: 0;
	 padding: 0;
        display: -moz-inline-box;
}

Open in new window


 It's not yet like it should be but getting closer... I think the decoration of the tabs have to do with the "kind" of tab, somehow the extra tabs aren't taking the same config as the other ones...
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Okay,
I believe I fixed it with:

.z-tabs.flat.horizontal.top > ul.z-tabs-nav,
.z-tabs.flat.horizontal.top > ul.z-tabs-nav > li,
.z-tabs.flat.horizontal.bottom > ul.z-tabs-nav,
.z-tabs.flat.horizontal.bottom > ul.z-tabs-nav > li {
  width: auto!important;
}

Open in new window


I'm going to toss you some points @spravtek because I wasn't able to find the exact elements amongst the stylesheets. You gave a small beacon of light!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Zephyr ICTCloud ArchitectCommented:
Hi, glad you found it and that I at least was able to point you in some direction.
0
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Muchas Gracias!!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.