Vertical Menu Spacing in Cloudbase3
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 26, 2016 4:13 pm
Vertical Menu Spacing in Cloudbase3
I just created a menu in sidebar a in Cloudbase 3 template....http://ensocorp.freesite.host/index.php. Do I have to dig into the css sheet to make the spacing between tabs closer together???? Would appreciate any info!!!! Steve
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Vertical Menu Spacing in Cloudbase3
Hi there,
Welcome to the Forum, Change the value for padding in this css rule:
.gf-menu.l1 > li > .item you can add in your main css file something like:Cheers!
Welcome to the Forum, Change the value for padding in this css rule:
.gf-menu.l1 > li > .item you can add in your main css file something like:
Code: Select all
/* By default the value for top and bottom is 16px */
.gf-menu.l1 > li > .item {
padding: 10px 0;
}
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 26, 2016 4:13 pm
Re: Vertical Menu Spacing in Cloudbase3
Thank you so much AlexVega! I will try to get to this today.....your time is appreciated!
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Vertical Menu Spacing in Cloudbase3
Glad to help,
Regards.
Regards.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 26, 2016 4:13 pm
Re: Vertical Menu Spacing in Cloudbase3
Hi again, I made the css change but now a few of the menu items have crushed into some others...what could be wrong????
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Vertical Menu Spacing in Cloudbase3
Hi there,
Cheers.
Can you show us the URL of your project?steveotm wrote:Hi again, I made the css change but now a few of the menu items have crushed into some others...what could be wrong????
Cheers.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 26, 2016 4:13 pm
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Vertical Menu Spacing in Cloudbase3
Hi,
I see the problem, try this:
Cheers.
I see the problem, try this:
Code: Select all
/* First add more padding to right and left, in this case this value add 10px to
the top, bottom, left and right */
.gf-menu.l1 > li > .item {
padding: 10px;
}
/* Add this new rule*/
.gf-menu li {
width: 100%;
}
-
- Joomla! Apprentice
- Posts: 5
- Joined: Tue Apr 26, 2016 4:13 pm
Re: Vertical Menu Spacing in Cloudbase3
AlexVega, you are amazing! It looks perfect now! Thank you so much for your expertise. Out of curiosity, is it possible to get the menu to open a menu item to the right instead of down like it is doing now????
- AlexVega
- Joomla! Hero
- Posts: 2711
- Joined: Fri Aug 28, 2015 6:13 am
- Location: México
Re: Vertical Menu Spacing in Cloudbase3
Hi,
Yes is possible, you can use a tool like Firebug for inspect the source code of your page
in your browser.
A tool like this will give you information about the selectors and the path where they are
located, the line number and the name of the file that contains this css selectors.
Once you have this you can add or change the values.
Cheers!
Yes is possible, you can use a tool like Firebug for inspect the source code of your page
in your browser.
A tool like this will give you information about the selectors and the path where they are
located, the line number and the name of the file that contains this css selectors.
Once you have this you can add or change the values.
Cheers!