Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Text Alignment - Parent Menu Tabs

Old Aug 17, 2010, 03:39 PM
3 posts · Aug 2010

I've recently add sub pages that fall under a Parent heading (e.g a home page heading that occurs on the menu bar from a new page I've created).

Without sub pages, the home page label of a Parent tab has text center aligned (which I would like to maintain for aesthetic reasons).

When adding a sub page to a Parent label, that specific Parent tab's text becomes flushed left, as are any of its sub pages listed in the drop down.

I would like to maintain the drop down items flushed left, while keeping the main Parent tab text aligned center (even when you scroll over the parent tab to reveal the sub pages).

Any thoughts on how I could achieve this? The theme seems to automatically move top menu text alignment to the left when adding sub pages and no options are shown to prevent this.

Thanks for any insight and follow up.

FYI the problem stated above happened as a result of installing the upgraded file bfa_hor_pages.php which was added to theme to correct a separate issue of full color fill in the sub menu dropdowns.

Last edited by AtahualpaFan; Aug 17, 2010 at 09:12 PM.
Old Aug 18, 2010, 06:56 AM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
The menu system has a whole bunch of code and doing specific formatting like you mention means diving into the CSS and can get complex. It would help if I could see your site as maybe I'm not clear on what you are talking about.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Aug 18, 2010, 02:42 PM
3 posts · Aug 2010
I've attached a screen shot .png file that shows the menu bar. The 3rd, 4th, 5th tabs currently have items in the submenu thus the Parent text of those tabs automatically become aligned left.

Those tabs where I have yet to add any submenu items have Parent text aligned center (which I would like to have remained centered despite every time I want to add flushed left submenu items).

The menu tabs just are not aesthetically pleasing when the main tab's text gets flushed left - that off balanced look.
Attached Thumbnails
Click image for larger version

Name:	Picture 3.png
Views:	468
Size:	147.9 KB
ID:	687  
Old Aug 20, 2010, 03:34 AM
3 posts · Aug 2010
The alignment was messed up because the code to remove drop down indicators a.k.a. arrows doesn't re-adjust the padding of the tabs accordingly.

div#menu1 ul.rMenu-hor li.rMenu-expand a {
background-image: none;

need to have the follow code added to the mix:

padding-right: 5px !important;

An old problem disguised in a different way for me I guess. Problem solved. My text has now been fixed and aligned properly.


text alignment menu tabs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] alignment of tabs in page menu bar genevieve.r.thompson Page & Category Menu Bars 4 Aug 19, 2010 04:01 PM
Problem with image alignment & caption text after upgrading to Wordpress 3.0.1 poffertjes Center area post/pages 3 Aug 5, 2010 07:52 AM
Vertical alignment of text to images Gnopps Atahualpa 3 Wordpress theme 3 Jul 12, 2010 05:46 AM
Atahualpa 3.4.01 Sidebar text alignment on home / news page Craig Atkinson Sidebars & Widgets 9 Jul 8, 2009 09:38 AM
Comments Field ? Adding wysiwyg + Text Alignment TPR Comments, trackbacks & pings 2 Feb 20, 2009 08:26 AM

All times are GMT -6. The time now is 04:54 PM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.