Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Page Menu Bar: Last Item on the Right-Hand Margin?


  #1  
Old Mar 6, 2009, 01:03 PM
PittFunck
 
13 posts · Mar 2009
Zurich
Page Menu Bar: Last Item on the Right-Hand Margin?

Hello!

Is there a simple way to place the last item of the page menu bar on the right-hand margin, leaving a gap between the next-to-last and the last menu item?

Thanks a lot in advance
Pitt
  #2  
Old Mar 6, 2009, 02:59 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Look into the source code to see if the last or next-to-last LI has a unique class such as page-item-109, then add a CSS Insert:

HTML Code:
ul#rmenu2 li.page-item-109 {
margin-left: XXpx;
}
or margin-right if you use the next-to-last LI item
  #3  
Old Mar 6, 2009, 03:37 PM
PittFunck
 
13 posts · Mar 2009
Zurich
Hi Flynn, thanks for the quick reply!

Sorry, I'm a complete newbie... what do you mean by "unique class"? Do you mean the order number? Or the page_id? And am I suppose to replace "XX" by some number of pixels? I tried all of them, with no success...

Cheers
Pitt
  #4  
Old Mar 6, 2009, 05:39 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Surf to your site, choose "View Source" or similar in your browser to view the source code, and see if there's something like

<li class="page_item page-item-106">

Then take the part with the number page-item-106 and add a CSS style for it, through A. Theme Options -> HTML/CSS Inserts/CSS Inserts:

HTML Code:
 ul#rmenu2 li.page-item-109 {
margin-left: XXpx;
}
And replace XX with the amount of pixels you want to move the menu tab
  #5  
Old Mar 9, 2009, 05:50 AM
PittFunck
 
13 posts · Mar 2009
Zurich
The additional space in the page menu only shows up when the page menu tab in question is *selected*, but not in the other pages... I want the additional space to be always there.

By the way, in my website the page-item always corresponds to the page_id in the URL.

Cheers
Pitt
  #6  
Old Mar 9, 2009, 08:26 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try

HTML Code:
ul#rmenu2 li.page-item-109 {
margin-left: XXpx !important;
}

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Atahualpa Page Menu Bar -&gt; BFA Page Menu Bar? bhannemann Page & Category Menu Bars 16 Feb 21, 2011 04:49 AM
Transparent Menu Item Instead of A Background Color oz1 Page & Category Menu Bars 1 Jun 29, 2009 05:19 AM
Customizing category menu bar with different images for every item GeoParadise Page & Category Menu Bars 5 Apr 17, 2009 05:50 PM
margin between bar #1 artca Header configuration & styling 4 Apr 11, 2009 05:27 PM
How to create menu item that links directly to an outside URL 5280Fan Page & Category Menu Bars 1 Feb 26, 2009 10:41 AM


All times are GMT -6. The time now is 09:34 PM.


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