close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

CKEditor not displaying correct font size

Thread began 10/07/2014 12:30 pm by Christopher West | Last modified 10/08/2014 11:38 am by Christopher West | 2439 views | 7 replies

Christopher WestCommunity Expert

actually it looks like the way I have my CSS for H tags (I guess I need to improve on my CSS coding technique)

Not originally i was using #content-main (id) for the area on my website however I had to create .content-main (class) so that my CSS styles work in CKEDITOR

originally in my CSS file I was styling H1 tag on its own (rather than .content-main h1 and #content-main h1) Hence why I need to improve the way I build up my style sheet :)



Note: I always assumed if there was only going to be ONE occurence of a style it SHOULD be an ID style (rather than a Class) but CKEDITOR requires a class definition for the body class in HTML Editor.


it worked when I changed my CSS to:

.content-main h1, #content-main h1, h1 {
font-family: 'andada_scregular';
font-size: 30px;
margin-bottom: 30px;
font-weight: 400;
line-height: normal;
color: #ff318e;
text-align: left;
letter-spacing: 2px;
border-bottom: 1px solid #DDDDDD;
margin-top: 10px;
}
.content-main h2, #content-main h2, h2 {
font-family: 'andada_scregular';
font-size: 22px;
font-weight: 400;
line-height: normal;
color: #ff318e;
text-align: left;
letter-spacing: 2px;
}
.content-main h3 , #content-main h3, h3 {
font-family: 'andadaregular';
font-size: 26px;
font-weight: 400;
line-height: normal;
color: #515151;
text-align: left;
letter-spacing: 1px;
}
.content-main h4, #content-main h4, h4 {
font-family: 'andadabold';
font-size: 19px;
line-height: normal;
color: #515151;
text-align: left;
}

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...