Editor Background
3 posters
Page 1 of 1
Editor Background
Ok so I added a background to my editor using this CSS:
The problem is I can't get the image to center and I also don't want it to repeat, can anyone help me? This is the CSS I tried and it didn't work:
- Code:
.sceditor-container iframe, .sceditor-container textarea {
background :url(http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Funny/9866203d-c2ce-4a57-9561-ae588fbd1edc_zpsd94ad0a6.gif) !important;
}
The problem is I can't get the image to center and I also don't want it to repeat, can anyone help me? This is the CSS I tried and it didn't work:
- Code:
.sceditor-container iframe, .sceditor-container textarea {
background :url(http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Funny/9866203d-c2ce-4a57-9561-ae588fbd1edc_zpsd94ad0a6.gif) !important;
Background-attachment: fixed;
background-repeat: no-repeat;
}
Re: Editor Background
Hi,
Is this the forum you're speaking of? http://joinswl.forumotion.com/portal
If so, can you please provide an account to view this? Thank you.
Is this the forum you're speaking of? http://joinswl.forumotion.com/portal
If so, can you please provide an account to view this? Thank you.
Re: Editor Background
Hi,
To center a background use the background-position property. Use the following CSS code.
If needed add !important to the last two properties if the image is not centered, or is repeated.
To center a background use the background-position property. Use the following CSS code.
- Code:
.sceditor-container iframe, .sceditor-container textarea {
background-image:url(http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Funny/9866203d-c2ce-4a57-9561-ae588fbd1edc_zpsd94ad0a6.gif) !important;
background-position:center;
background-repeat:no-repeat;
}
If needed add !important to the last two properties if the image is not centered, or is repeated.
Re: Editor Background
I just put in that exact CSS and the background stays the same. Please take a look using this User and Password:
Content Removed - For safety issues.
User: {SWL}RAPTOR
Password: forumotion
I am really not sure why, would you like my whole CSS Stylesheet to see if something is not letting it work properly?
User: {SWL}RAPTOR
Password: forumotion
I am really not sure why, would you like my whole CSS Stylesheet to see if something is not letting it work properly?
Re: Editor Background
Ok well I tried with other images and it still doesn't work, it keeps repeating to the right instead of only putting in 1 picture in the center. I put that exact CSS on the top of my CSS list. What should I do?
Re: Editor Background
No it does not. If you think you can fix it I will make a new password and pm it to someone to see if they can fix it.
Re: Editor Background
Okay, just making sure.
Have you added the !important to the last two properties?
Have you added the !important to the last two properties?
- Code:
.sceditor-container iframe, .sceditor-container textarea {
background-image:url(http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Funny/9866203d-c2ce-4a57-9561-ae588fbd1edc_zpsd94ad0a6.gif) !important;
background-position:center !important;
background-repeat:no-repeat !important;
}
Similar topics
» background image editor
» Add a background image to the editor
» New option: editor background color
» Text Editor Background Image
» New Editor? OK, where is it?
» Add a background image to the editor
» New option: editor background color
» Text Editor Background Image
» New Editor? OK, where is it?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum