Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] How insert Menu2 on Center Area (http://forum.bytesforall.com/showthread.php?t=20647)

batigolle Jul 16, 2013 06:55 AM

[SOLVED] How insert Menu2 on Center Area
 
Hi
I use Atahualpa 3.7.12 theme with WP 3.5.2
I want to insert a second menu ( example menu 2 atahualpa theme )
on some pages at the center area

I tried using the plugin "Custom Menu Shortcode" on page test ...
[custommenu menu=MenuSC]
but the menu is displayed with the style "Bullet prof"

I wanto to give the same style the menu on header

http://imageshack.us/a/img191/9023/vmmt.png

juggledad Jul 16, 2013 08:52 AM

at ato->Style & edit HEADER AREA->Configure Header Area change %cats to %cat-center

batigolle Jul 16, 2013 10:35 AM

Thanks Juggledad for quickly response !

I had already tried the solution %cat-center, but insert the menu2 in Header area.

I want to insert the menu2 in a 'specifc page'
I put two pictures to explain better

Current situation
http://imageshack.us/a/img5/7733/beca.png


Target ...
http://imageshack.us/a/img826/7307/vaee.png

batigolle Jul 17, 2013 01:00 AM

Sorry ...I forgot to specify that the menu2 in the picture 'Target' was added with 'cut' and 'past'
(it seems to have already found the solution, it's just a picture changed manually)
Thanks

juggledad Jul 17, 2013 03:15 AM

If you are using the custom menu widget to display the menu, you need to manually style it, try adding a 'display: inline' to its css

batigolle Jul 17, 2013 07:18 AM

1 Attachment(s)
The plugin contains only one file custom-menu-shortcode.php
I do not know where and how to enter the attribute display: inline

juggledad Jul 17, 2013 09:11 AM

'display: inline' is a CSS rule that goes with a CSS selector to be applied to one or more HTML elements. If you don't understand all that, you need to take some tutorials (http://www.htmldog.com/guides/css/beginner/ is one place) or you should hire someone.

While I'd like to help, it would take me too much time to explain it all and styling a plugin is not releate to the theme.

I'll leave this thread open in case someone else wants to offer some advice

batigolle Jul 18, 2013 06:12 AM

Thanks Juggledad
I have already made ​​a few attempts and am trying to learn the language syntax/structure

a one last tip ...
to insert the "css rule" where do you advise me to act ?

1) changing Athaualpa Theme Options
2) edit the field "Class CSS ( optional )" on Wp -> Aspect -> Menu
3) manually create new file css/php

When I find the solution, I will write it on the tread to share it with everyone
Thanks

lmilesw Jul 18, 2013 06:20 AM

Any added CSS should go in the various areas in the theme options.

batigolle Jul 19, 2013 03:38 PM

1 Attachment(s)
Hi all :)
I share my solution

Downloaded example of the style CSS of a menu and changed some parameters
to fit the style of the existing main menu ( cssmenu.css attached )

. created new menu (menusc) in athaualpa theme
. added plugin Custom Menu Shortcode 1.0
. added Shortcode [custommenu menu=menusc] in the specific page
. added my style css in ATO theme Athualpa ( Add HTML/CSS Inserts )
. modified the file custom-menu-shortcode.php ( wp-content\plugins\custom-menu-shortcode )
modified line ( only one line )
'container_id' => ' ' --> 'container_id' => 'cssmenu',

I hope it is of help to someone ;)

http://imageshack.us/a/img855/2815/aq9a.png


All times are GMT -6. The time now is 08:06 PM.

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