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

CKEditor Inline CSS headings in a modal (Pagetable) get overwritten by admin .modal styles in main.css #1252

Open
somatonic opened this issue Jun 23, 2015 · 4 comments

Comments

@somatonic
Copy link

I had to add !important to the custom "contents-inline.css"

.InputfieldForm .InputfieldCKEditorInline h2 {
    font-size: 1.7em!important;
}
.InputfieldForm .InputfieldCKEditorInline h3 {
    font-size: 1.5em!important;
}
...

Otherwise the h2 is smaller than the h3.

@ryancramerdesign
Copy link
Owner

@somatonic I'm not seeing that here. What version of PW and what is the context of your inline CKEditor? (regular page field, within a fieldset, within a tab, etc.?)

@somatonic
Copy link
Author

It's in a fieldset.

image

@somatonic
Copy link
Author

I already fixed it in the screenshot, but you see the "body.modal .content h2" that is the problem, I don't see how in a fieldset or not makes a difference.
PW is 2.6.1.

@ryancramerdesign
Copy link
Owner

That's exactly what I was wondering with regard to context. So it must be
the body.modal then. I can work around that.

On Mon, Jun 29, 2015 at 7:41 AM, Philipp Urlich notifications@github.com
wrote:

I already fixed it in the screenshot, but you see the "body.modal .content
h2" that is the problem, I don't see how in a fieldset or not makes a
difference.


Reply to this email directly or view it on GitHub
#1252 (comment)
.

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

No branches or pull requests

2 participants