Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling in CSS instead of attribute #41

Closed
dimitrov-adrian opened this issue Feb 27, 2015 · 5 comments
Closed

Styling in CSS instead of attribute #41

dimitrov-adrian opened this issue Feb 27, 2015 · 5 comments

Comments

@dimitrov-adrian
Copy link
Contributor

I think it will be better if styling of the element is in the generated CSS instead of the style attribute.

Is there any reason of being in the elements?

@gregpriday
Copy link
Member

Hi Adrian

You're definitely right here. Using inline styles was much easier to implement, but I'd like to change this to separate CSS. I'll keep you posted on when we start with this.

gregpriday added a commit that referenced this issue Mar 21, 2017
Moved CSS out of style attributes, into general layout CSS. Resolves GH-41
@gregpriday
Copy link
Member

This is resolved by f147c61 - we'll merge this in time for the Page Builder 2.5 release.

@ghost
Copy link

ghost commented Mar 22, 2017

@gregpriday fantastic

@ghost
Copy link

ghost commented Apr 13, 2017

@gregpriday sorry to bother you again but I think this does not work when layout is set as full width.
example

<div class="siteorigin-panels-stretch panel-row-style..." data-stretch-type="full" style=".....">

so once the layout is changed from standard to full width, there is still an inline style for that row. Is this intentional? can this be like other rows and have the style in the header? thanks

@gregpriday
Copy link
Member

gregpriday commented Apr 13, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants