The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

CCS; Background Image Help

View previous topic View next topic Go down

Solved CCS; Background Image Help

Post by Guest on July 26th 2015, 10:56 am

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : https://i18.servimg.com/u/f18/18/90/00/84/troubl10.png
Who the problem concerns : All members
Forum link : http://draxgd.forumotion.com

Description of problem

As you can see, I placed a background image in my editor but I'm trying to make the image stop repeating and be centered in the box. I tried following these Steps, but still to no avail. I'm having trouble with the CCS code to get it right. Any help would be greatly appreciated. Thanks!


Last edited by Draxion on July 26th 2015, 6:28 pm; edited 1 time in total

Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

Post by SLGray on July 26th 2015, 3:51 pm

Did you add this to the CSS code?
Code:
background-repeat:  no-repeat !important;


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: CCS; Background Image Help

Post by Guest on July 26th 2015, 4:53 pm

@SLGray wrote:Did you add this to the CSS code?
Code:
background-repeat: no-repeat !important;

Okay, that seemed to had stopped the repeating, but how can I center it? I tried this code, but it didn't work.
Code:
background-position:  center !important;

Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

Post by Pizza Boi on July 26th 2015, 6:01 pm

Hi Very Happy

Try this:

Code:
.sceditor-container textarea {
  color: ####### !important;
  background: url(IMG URL HERE) no-repeat !important;
  background-position: center !important;
}

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: CCS; Background Image Help

Post by Guest on July 26th 2015, 6:27 pm

Hey, @Pizza Boi

Sorry to say the code you gave me didn't work, but I did fix it myself.

Thanks though. Smile

Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

Post by SLGray on July 26th 2015, 7:54 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36659
Reputation : 2444
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum