Fullwidth - I think I lost my right & left margins

Fullwidth - I think I lost my right & left margins was created by rowby

Posted 9 years 7 months ago #22171
Hi CEd,

Menus are looking good. I took advantage of the fullwidth class which works really nice.

However, it looks like the fullwidth "lost" whatever settings I had for my right and left margins in my submenu.

You can see what I mean by going here: Link to page with menu

It is especially noticeable on the alternative music studies dropdown. You'll see that, for the most part, there are no right and left margins -- the menus go right to the left and right of the overall menu.

I tried various places to fix that padding/margin, but nothing seemed to work.

These are all controlled via one maximenu ver7.1.12 with parameters plugin installed.

Maybe I should go into the fullwidth class style and add some padding right and left? Or is there a way to do it in maximenu or the parameters.

Thanks

Rowby
Last Edit:9 years 7 months ago by rowby
Last edit: 9 years 7 months ago by rowby.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Fullwidth - I think I lost my right & left margins

Posted 9 years 7 months ago #22175
Hi

the menus go right to the left and right of the overall menu

yes, this is the base principe of the fullwidth feature ;)

edit the item ID item2346 (parent item) and set the submenu margins there in the maximenu params - submenu options
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by rowby on topic Fullwidth - I think I lost my right & left margins

Posted 9 years 7 months ago #22182
Hi

The only submenu margins I see in the Menu item's "Maximenu CK Styles - Submenu" tab are Padding Top and Padding bottom.





Am I looking in the right place?

Thanks

Rowby
Last Edit:9 years 7 months ago by rowby
Attachments:
Last edit: 9 years 7 months ago by rowby.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Fullwidth - I think I lost my right & left margins

Posted 9 years 7 months ago #22184
right, this is possible :)

looking again at your menu, I don't any other valeu than 0 for margins on this submenu.Where did you set it when you said that it does not apply ?

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by rowby on topic Fullwidth - I think I lost my right & left margins

Posted 9 years 7 months ago #22194
Hi

I fixed it the easy way -- since I only use this theme on that one menu. I added padding right and left to the fullwidth class in the theme's php css file.

--- Full width ---
*/

div#<?php echo $id; ?> li.fullwidth > div.floatck {
margin: 0;
padding-right: 20px;
padding-left: 20px;
width: 100% !important;
}
by rowby

Please Log in or Create an account to join the conversation.

Time to create page: 0.688 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 864 guests and no members online