Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Extending the Menu Bar in a YooTheme Template - Will Provide Info

Extending the Menu Bar in a YooTheme Template - Will Provide Info 11 months 2 days ago #51476

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Folks

I really appreciate the assistance from your team and the great training and info!

Using a YooTheme template (Revista) and would like to have the menu (underneath the header) stretch the entire length of the header and remove the white padding on the left and right sides. Each side has only a few pixels remaining.

Can someone instruct me on how to accomplish this? Looked in the CSS and maybe overlooked the area that needed to be changed.

Thanks
Arthur

Please let me know where to email the URL and login info. The client would like me to keep this a little low-key until I have the site ready to be published. Thanks!
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 11 months 2 days ago #51479

  • jmc
  • jmc's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 1426
  • Thank you received: 118
  • Karma: 8
Hi
Try this using firebug.
Find #menublock {
padding: 5px 5px 2px;
}
According to the demo it is in www.yootheme.com/demo/themes/joomla/2012...emplate-3b8030c2.css

Change the padding values to 5px 0px 2px;
I think that I prefer the little bit of white soace but the client is always right!
Regards
Mark
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 11 months 2 days ago #51482

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Mark

Thanks for the quick response and instructions. Do you have an email address that I can send you some site login info? I've got something really strange occurring with different browsers (IE vs Firefox & Chrome) when I change the code for this section.

Thanks
Arthur
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 11 months 2 days ago #51513

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
HI Arthur,

Send your info to This email address is being protected from spambots. You need JavaScript enabled to view it. . I can at least take a look at it for you. Give me some clues as to what's wrong in the email.

Ed
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 2 weeks ago #52871

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Ed

Sorry for the late response, but thank you for your time and your request. I've forwarded the site information to you. Again, I apologize and thanks.

Look forward to hearing from you.
Arthur
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 2 weeks ago #52946

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 444
  • Karma: 63
Hi Arthur,

Ed sent me the URL to the site to take a look for you.

Could you upload an annotated screenshot of the issue and also provide the browser and browser version that you're using?

Fireshot for Firefox is a great tool for annotated screenshots. Here's our tutorial on it:
www.ostraining.com/blog/webdesign/fireshot-firefox/

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53268

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Nick

Attached is the screenshot that you requested. I've also added a pointer to the exact area that I am trying to fix. Thanks for your help.

Arthur
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53319

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 444
  • Karma: 63
Hi Arthur,

Thank you!

Looks like Mark's suggestion works:Mark wrote:
Change the padding values to 5px 0px 2px;
Arthur wrote:
I've got something really strange occurring with different browsers (IE vs Firefox & Chrome) when I change the code for this section.
What exact issues are you experiencing? Could you upload screenshots of the issues?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53431

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Nick

Attached are screen shots of the menu in IE, Chorme, and Firefox. You will notice at the end of the menu in each screen shot, the menu has a bit of blank space left on the right side. It looks like the menu buttons are not spread evenly across the menu bar, or there is a very small blank button.

Let me know your thoughts or suggestions. Thanks

Arthur
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53441

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Arthur,

It looks like to me that you want the tabs to take up the entire area. I don't know this template, but they probably expand to accomodated the length of the text.

When you change the text does the size of the gap change? If it does you're going to have to change the css to expand the tabs to widths that will fill the spaces exactly.

Everything that controls this is in menu.css.

You could fix this by creating a module suffix for the menu module with custom css that will override the menu.css Or if you know how, a template override.
docs.joomla.org/How_to_override_the_outp...rom_the_Joomla!_core

I don't understand the white padding you want to remove, because the padding is transparent. But if you want to remove the lines between the buttons you would remove the background image from here.
.menu-dropdown li.level1 {
    background: url("../images/menu_dropdown_level1.png") no-repeat scroll 100% 0 transparent;
    padding: 0 2px 3px 0;
}

You would need to rewrite the li definitions in the menu.css to change the way that menu displays.

Cheers,
Ed

PS. Just for clarification, if you're using firebug and you find the css file has a weird name like this one www.yootheme.com/demo/themes/joomla/2012...emplate-3b8030c2.css It's because it is in a compiled (cached) directory and isn't the real style sheet you need to change.
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53458

  • arthurrs
  • arthurrs's Avatar
  • OFFLINE
  • OSTycoon
  • Posts: 202
  • Karma: 0
Hi Ed

I simply want to have the buttons extend the entire length of the menu bar. I'll continue to work on that. Yes, it appears that when the text changes, the menu expands or contracts. But it seems to have this space at the end left over. However, I'll take a look in the menu.css and see what I can do without totally messing things up.

As for the white space issue, it's been resolved. In my opinion, it really wasn't an issue, but I had to work that out with the client who is okay with it now.

Thanks for your your assistance and I'll work on the menu issue and get back with you.

Arthur
Please become a member of OSTraining to reply to this post.

Extending the Menu Bar in a YooTheme Template - Will Provide Info 10 months 1 week ago #53629

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 444
  • Karma: 63
Hi Arthur,

Just wanted to let you know that Ed's on vacation until mid-way through next week, but the rest of us will be here to help out if you need anything else.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.