CSS Menu

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

arunkumar
Ebase User
Posts: 14
Joined: Wed Jul 29, 2015 12:53 pm

CSS Menu

#1

Postby arunkumar » Mon Aug 31, 2015 9:27 am

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.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue Sep 01, 2015 8:54 am

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.
0 x

arunkumar
Ebase User
Posts: 14
Joined: Wed Jul 29, 2015 12:53 pm

#3

Postby arunkumar » Thu Sep 03, 2015 10:31 am

Thank you very much for the reply , The link was very useful.
0 x


Who is online

Users browsing this forum: No registered users and 14 guests