Hi, I have a .css file which i need to use for creating a menu in my page . I have created a presentation template only for this purpose and included the css style sheet in Menus at the Presentation template,I am not getting the desired output what the CSS style is supposed to produce.I tried the same by writing a direct HTML code form the pallet which refers to the same presentation template and the style sheet which is working without any problem.
So can you please guide me how to make the current CSS style for menus to be the default, so that when I drag and drop a "Menu item" it should also acquire the CSS style.
CSS Menu
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
You might find it difficult to apply your style directly to an Ebase menu control because the HTML generated might not match your CSS. In general, it's easier to use the styling tools provided (right click on menu control and select Style)and just add the CSS properties that you want directly to the dialogs.
Another general remark: I find it is easier to configure and test styling locally in a form, and then copy it all to a presentation template once it's working.
Other things that you might find useful: you can see the generated HTML for a menu here http://dev-docs.verj.io/ufs/doc/Styling_Menus.htm and you can also see this in the designer by right clicking on a menu control and selecting View Source. You will need to work out whether your CSS can be applied to this HTML structure. If necessary you can apply CSS classes to menu items: to do this, right click on the menu control, select Style, click the Top Level tab, then click on Advanced Properties.
Another general remark: I find it is easier to configure and test styling locally in a form, and then copy it all to a presentation template once it's working.
Other things that you might find useful: you can see the generated HTML for a menu here http://dev-docs.verj.io/ufs/doc/Styling_Menus.htm and you can also see this in the designer by right clicking on a menu control and selecting View Source. You will need to work out whether your CSS can be applied to this HTML structure. If necessary you can apply CSS classes to menu items: to do this, right click on the menu control, select Style, click the Top Level tab, then click on Advanced Properties.
0 x
-
- Ebase User
- Posts: 14
- Joined: Wed Jul 29, 2015 12:53 pm
Who is online
Users browsing this forum: No registered users and 14 guests