Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Problems With CSS

Hello Alex,

The CSS JQM is always connected, because it's needs for to set the default styles.
You can override them later.

If you change Source files, Appery.io UI builder will not show you the changes you've made - that's true. But you can edit your custom CSS rule freely in CSS tab. In this case custom CSS has a higher priority.

Alex Andrii
Posts: 0
Joined: Tue Dec 10, 2013 9:41 am

Problems With CSS

The problem is that when i edit the source code... My problem is not to see changes in visual, the problem is that if i change the class for a button for example from the visual part ... the changes wont work...

As i see a Appery Pages use 6 CSS... (if you use theme css aswell)

Same classes priority are:

1- Custom CSS
2- General JQmobile
3- Theme(if used)
4- JQM

All i want to get is the fact that i can edit for example a button class from my visual builder... (i dont want to see changes) i want that class changes... but it does not do it!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Problems With CSS

Alex,

From the code that you have provided:
code
<link href="files&#47;resources&#47;lib&#47;theme&#47;jqm&#47;jqm&#46;css" rel="stylesheet" &#47;>
<link href="files&#47;resources&#47;lib&#47;theme&#47;test&#47;test&#46;css" rel="stylesheet" &#47;>
<link href="files&#47;resources&#47;lib&#47;jquerymobile&#47;1&#46;3&#46;2&#47;jquery&#46;mobile&#46;structure-1&#46;3&#46;2&#46;css" rel="stylesheet" &#47;>
/code
This is follows:
ul
liconnects the jqm theme;/li
lithen connects your theme test;/li
/ul
-- here it means that your theme has a higher priority than jqm.

The CSS file which is connects later - has a higher priority.

If you also need to redefine some properties from: jquery.mobile.structure-1.3.2.css -- then create the CSS asset.
It will be connected later then jquery.mobile.structure-1.3.2.css, and that's means it will have higher priority than jquery.mobile.structure-1.3.2.css.

Alex Andrii
Posts: 0
Joined: Tue Dec 10, 2013 9:41 am

Problems With CSS

Ok finnally i understand how appery uses CSS... thanks!

To incluse a external css you must import it as a new one :))

Return to “Issues”