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, 02:03 PM
PittFunck
 
13 posts · Mar 2009
Zurich
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, 03: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, 04: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, 06: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, 06: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, 09: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 05:49 AM
Transparent Menu Item Instead of A Background Color oz1 Page & Category Menu Bars 1 Jun 29, 2009 06:19 AM
Customizing category menu bar with different images for every item GeoParadise Page & Category Menu Bars 5 Apr 17, 2009 06:50 PM
margin between bar #1 artca Header configuration & styling 4 Apr 11, 2009 06:27 PM
How to create menu item that links directly to an outside URL 5280Fan Page & Category Menu Bars 1 Feb 26, 2009 11:41 AM


All times are GMT -6. The time now is 04:22 AM.


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