Carl
Posts: 0
Joined: Mon Nov 17, 2014 12:08 am

Compiled app drops stylesheet.

Hi there. I did a simple one page app that uses standard style sheets and when I compiled it and ran the styling was completely gone. Thoughts ?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Compiled app drops stylesheet.

Carl,

Please read more about CSS styling.
You basically haven't overridden the theme styles.
http://css-tricks.com/specifics-on-cs... - this doc will help to understand.

Carl
Posts: 0
Joined: Mon Nov 17, 2014 12:08 am

Compiled app drops stylesheet.

Hi sorry for confusion - I used one of the themes that appery io builder offers, and it applied in the test app and testing in browser. Once I compiled though the final output had no styles applied. Does that make more sense ?

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Compiled app drops stylesheet.

Hello Carl.
Absolutely. Like Alena said styles that you have implemented are 'weaker' then Appery.io theme styles.
Each style selector has it's own 'weight'. You can find details in the link that Alena has provided.

You can find your styles for the component in console, or easily navigate to it by clicking with right mouse button and choose 'Inspect element'.
All styles for tag/component are listed in the styles tab of elements panel.
You can find which styles override yours.

Carl
Posts: 0
Joined: Mon Nov 17, 2014 12:08 am

Compiled app drops stylesheet.

Hi Egor. What I am trying to say is that I have only used the theme styles - no custom styles. The compiled app looks like a webpage with zero css. I thought the theme from the builder would be included but it is not.

Carl
Posts: 0
Joined: Mon Nov 17, 2014 12:08 am

Compiled app drops stylesheet.

Ok - apologies for wild goose chase but has resolved itself on next version. Thanks for support!

Return to “Issues”