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

Adding styling CSS to a layout #902

Open
pablof300 opened this issue Nov 3, 2019 · 0 comments
Open

Adding styling CSS to a layout #902

pablof300 opened this issue Nov 3, 2019 · 0 comments

Comments

@pablof300
Copy link

pablof300 commented Nov 3, 2019

Note: For general questions and feature requests please leave a message
on Gitter: https://gitter.im/comfy/comfortable-mexican-sofa

Expected behavior

I have a certain styling I want to apply to all

elements for a layout. For example, I want to add line-height: 10px to the content by doing this:

<div class='ui centered grid'>
  <div class='ui row'>
		<div class='ten wide column'>
      <div class='card' style='line-height:10px'>
        {{ cms:wysiwyg content }}
      </div>
    </div>
  </div>
</div>

However, this is not affecting all the

components because the styling is being added to the div component. So I was wondering if there was a way to import a styling .css file for that layout to apply to all

elements

System configuration

Rails version:
Rails 5.2.2

CMS version:
2.0.0

Ruby version:
Ruby 2.5.1

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

No branches or pull requests

1 participant