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?

Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.
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.

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.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Is this showing up in the zozo css or the style.css?
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

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:
Zephyr ICTCloud ArchitectCommented:
How are you adding the tabs? Strange that by just adding a few new tabs the whole thing goes bonkers.
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:

				<?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>

Open in new window

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?
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... > ul.z-tabs-nav, > 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...
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I believe I fixed it with: > ul.z-tabs-nav, > 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!

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.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Muchas Gracias!!!!
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

From novice to tech pro — start learning today.