Jump to content

How to change background in editor?


Recommended Posts

Hi, I've encountered that problem before and in order to not waste time on it, I've just added <div style="background:#whateveryouwant'); width: 100%; padding: 10px;"> </div> in the html view of the editor.

(all the content goes inside the div)

 

After finishing editing, you can remove the div :)

Link to comment
Share on other sites

Evona, the exact code I've send to you is perfectly working. I've just tested it, to be 100% sure.

 

I guess youre not placing the code in html view.

Press the "html" button which is under the "font-family" button in the editor. Then place

<div style="background: #000; width: 100%; padding: 10px;"> at the top of the text, and </div> at the bottom.

 

also, just to make it clear again, this will add black background in the front office too. delete the div elemen after finishing editing.

 

As I said, this is just a simple solution in order to not waste time to find out how to change the editors default background.

Link to comment
Share on other sites

Thank You Snade, its work ! I make somewhere mistake.

I dont want open another topic, then i ask here:

 

"how to put module SLIDERIC to top of the page??"

I know i must change somewhere hook, but i dont know where....can you help me please?

Link to comment
Share on other sites

Did you tried to transplant the module from the backoffice ?

 

 

I'm not familiar with this module, but if its a custom module, better contact the developer since the module maybe cannot work in header and need to be tweaked.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...