Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Looking to add CSS to aid consistency. Looking to add font type, size colour etc. Can I create an external file or edit internal? Where do I locate or create this? Found this but doesn't seem to have body text styles in?? h1, h2, h3 { margin:0; padding:0; font-weight:normal; font-style:normal; } .body_index_html a { color:5D5D9E; } .body_index_html a:visited { color:5D5D9E; } .body_index_html a:active { color:5C615E; } .body_index_html a:hover { color:B2B3B4; } body.body_index_html { background-color:FFFFFF; padding:0; margin: 0; } .textstyle1 { text-align:left; } html_8538c1f { box-sizing: border-box; vertical-align: bottom; position:relative; display: inline-block; width:50%; height:100px; background-color:E5E5E5; border: 1px solid A0A0A0; } .body_untitledpage_html a { color:5D5D9E; } .body_untitledpage_html a:visited { color:5D5D9E; } .body_untitledpage_html a:active { color:5C615E; } .body_untitledpage_html a:hover { color:B2B3B4; } body.body_untitledpage_html { background-color:FFFFFF; padding:0; margin: 0; } html_8538c1f { box-sizing: border-box; vertical-align: bottom; position:relative; display: inline-block; width:50%; height:100px; background-color:E5E5E5; border: 1px solid A0A0A0; } But also how do i edit this? Regards |
||||
|
You can select View -> HTML Code of Page -> Additional CSS styles, and then enter your new CSS styles there, overwriting the other generated rules. |
||||
|
Hi yes I've tried this, it doesn't seem to superceed. Sorry if im doing something silly. this is what I added into the ; https://drive.google.com/file/d/1IYE6I0P-PuD--Zd3AplL6-ebgeaTrDg7/view?usp=drive_link /* Page background */ body { background-color: f4f6f8; /* light grey */ color: 333; /* default text color */ font-family: Arial, Helvetica, sans-serif; line-height: 1.6; margin: 0; padding: 20px; } /* Headings */ h1, h2, h3 { color: 222; margin-bottom: 10px; } /* Paragraph text */ p { margin-bottom: 15px; font-size: 16px; } /* Links */ a { color: 0077cc; text-decoration: none; } a:hover { color: 005fa3; text-decoration: underline; } a:visited { color: 551a8b; } |
||||
|
It's normal CSS code, if you put it into the Additional CSS styles section, then it should work. You won't see it in the editor, but when you click "preview". |
||||
|
Thanks for the reply, i'm really sorry but its not working. I've added 2 images, one with the code above pasted into the additional CSS styles. Then a second showing the preview, with body text, headings and links not following the criteria set in the CSS. I must be doing something daft, were in the pro edition if that changes anything. https://drive.google.com/file/d/1TDxkF2lfTIu3zDQ05RUqt3Y4Cj7iHF0O/view?usp=drive_link https://drive.google.com/file/d/1kpd2XOVqv-ZhNRTK4DfuaWpxCZ_3QjwR/view?usp=drive_link |
||||
|
I assume the css styles for the elements on the page will override your global rules, but difficult to say without seeing it. |
||||
|
|