[Pro] CSSMenu submenu type positioning.

Hi,

I’m doing an update to this site and as the client has decided to revise how the prices are displayed, with the list price web price and a quantity box. This means making the whole site a bit wider and I thought it would be a good idea to transfer it to Freeway 6 and html5.

I have done a test page with the CSS menu down the left hand side that is used to select products. This uses an inline PHP Text Link with Query on the menu items list which provides the query to the server on the link.

This worked seamlessly in all the previous versions of freeway, but in Freeway 6 the css that it produces adds an extra element to each of the sub menus so that the type is offset to the right and messes up the look of the menu. To see what it should look like delete the rest of the link after the dot co dot uk bit.

I have found that by deleting the

display:inline-block;

from each of the menu items in the source file fixes the problem.

With over 100 pages in the site I don’t want to go down this route.

Is there any way the CSS Menu can be altered to prevent it from outputting the display:inline-block; attribute on each of the sub menu items.

I might have to abandon the Freeway 6 version if I can’t find a fix for this.

Thanks

Steve.

http://www.cotswoldengineeringsupplies.co.uk/2013-revised/test/


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Steve,
Simply add the following HTML to the head of your page(s) using Page > HTML Markup > Before ;

<style type="text/css">
<!--
.fwNavItem span { display:inline !important; }
-->
</style>

What you should see is a menu that looks more like this;
http://www.freewayactions.com/test/cotswold-menu/
Regards,
Tim.

On 15 Nov 2013, at 12:51, SteveB wrote:

I might have to abandon the Freeway 6 version if I can’t find a fix for this.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Cheers Tim,

It worked a treat, all the menus are now back to how they should be. It was such a simple fix, and putting it on the master page makes it easy to ensure it will be on every page.

Thanks for your help.

Steve.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

To anyone else following along, this is why it is a Good Thing, and Not To Be Feared, to learn a little CSS and HTML. Freeway can insulate you from quite a lot of this process, but when you need to get out and push, you will find that these sorts of “judo” moves are much easier than opening 200 pages and clicking the same set of menus and controls over and over.

Walter

On Nov 15, 2013, at 10:08 AM, SteveB wrote:

Cheers Tim,

It worked a treat, all the menus are now back to how they should be. It was such a simple fix, and putting it on the master page makes it easy to ensure it will be on every page.


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It can be a bit daunting at first when you tinker with the output from Freeway with Mark up items and adding styling to the head of a page but with a little perseverance a lot can be achieved.

Freeway is great for doing the layout and getting the “look” right, but when you want to do something like a dynamic, database driven site, then opening up the Hood and tinkering with the innards will provide dividends along the way.

Like Walter says, it is something Not To Be Feared,
in the process I have learnt a lot of CSS and HTML but still get stumped on occasion. That’s when this great forum helps, sometimes you are too close to the problem to see the solution.

Thanks to Walter, Tim et all for all your expertise.

Cheers,
Steve


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options