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 »

[SOLVED] LH sub-menu styling


  #1  
Old Mar 1, 2012, 05:28 PM
incamedia
 
19 posts · Aug 2010
Is there a way to configure the theme so it provides a styled child sub-menu as per the attached?

  #2  
Old Mar 1, 2012, 06:11 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If the items 'St Hellings', 'Saxon Hastings' etc are the sub menus and you want all pages that have sub menus to show over there...there is nothing built in however

You could create a seperate WordPress custome menu for each of the sub menus, put them all in the left sidebar using the 'Custom menu' widget, then get the plugin 'exec-php' and for each page, display only the menu you need
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 28, 2012 at 05:53 PM.
  #3  
Old Mar 2, 2012, 02:05 AM
jakobsmith
 
32 posts · Feb 2010
Copenhagen
When I have to do left sidebars like this in Atahualpa, I use Subpages Extended:

http://wordpress.org/extend/plugins/subpages-extended/

It works well with WP 3.3.1.

I use these settings.

Then in the CSS inserts I do this:

Code:
div.widget ul li.page_item.current_page_ancestor, div.widget ul li.page_item.current_page_parent, div.widget ul li.page_item.current_page_item {
background: #7798b2;
color: #f2f2f2;
}
You can see an example here:
http://ortodoks.dk/ortodoks-tro-og-p...de-spoergsmaal
  #4  
Old Mar 21, 2012, 09:08 AM
incamedia
 
19 posts · Aug 2010
Thanks Jakob that looks a good plugin - I have spent ages messing with css and looking for a similar plugin
  #5  
Old Mar 28, 2012, 04:27 PM
incamedia
 
19 posts · Aug 2010
Hi Jakob

You suggested Subpages Extended which works OK. I put in your CSS but it only seems to work for the selected item http://oldsthelenschurch.evodev.net/history/history-2/
- I can't work out the CSS to give padding and background color for normal and hover as in the picture above. Can you help, I've spent ages on this?

In fact the functionality is not quite what I want which is like this site http://www.lewespriory.org.uk/history-overview
is there a way to use Subpages Extended for that functionality?

Thanks
Ian
  #6  
Old Mar 29, 2012, 03:49 PM
incamedia
 
19 posts · Aug 2010
Thanks to Jakob for the following CSS to style the lh menu...

/** ===================== **/
/** Styling lh menu **/
/** ===================== **/
/** Styling selected item **/
div.widget ul li.page_item.current_page_ancestor, div.widget ul li.page_item.current_page_parent, div.widget ul li.page_item.current_page_item {
background: #e1d6c7;
color: #fffff;
padding: 7px 10px;
font-size: 16px;
font-family:"Times New Roman",Georgia,Serif;"Times New Roman", Times, serif;
font-weight: bold;
text-transform: uppercase;
}
/** Styling non-selected item **/
div.widget ul li.page_item {
background: #c4b199;
margin-bottom: 1px;
padding: 7px 10px;
font-size: 16px;
font-family:"Times New Roman",Georgia,Serif;"Times New Roman", Times, serif;
font-weight: bold;
text-transform: uppercase;
}
/** Styling hover **/
div.widget ul li.page_item:hover {
background: #e1d6c7;
}

/** highlight parent of current page **/
ul.rMenu li.current_page_parent a:link,
ul.rMenu li.current_page_parent a:active,
ul.rMenu li.current_page_parent a:hover,
ul.rMenu li.current_page_parent a:visited,
ul.rMenu li.current_page_parent {
background: #c4b199 !important;
}

Bookmarks

Tags
sub-menus

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Need help with styling menu Viktor Garbar Page & Category Menu Bars 11 Aug 4, 2011 06:07 AM
I need a little help styling my menu bar. John Berry Page & Category Menu Bars 11 Apr 27, 2011 08:33 PM
Menu 1 drop-down sub-menu styling soni Atahualpa 3 Wordpress theme 1 Nov 11, 2010 02:21 AM
[SOLVED] Atahualpa 3.5.3 MENU 1 styling for drop down menu lagme Page & Category Menu Bars 2 Jul 22, 2010 09:11 PM
nav menu styling not working viewdesigninc Page & Category Menu Bars 2 Dec 10, 2009 08:44 AM


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


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