The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CCS; Background Image Help

2 posters

Go down

Solved CCS; Background Image Help

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

Technical Details

Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : https://i.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
avatar
Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

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

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


CCS; Background Image Help Slgray10

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

Male Posts : 51567
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: CCS; Background Image Help

Post by Guest 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;
avatar
Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

Post by Pizza Boi 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
Pizza Boi
Hyperactive

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

Back to top Go down

Solved Re: CCS; Background Image Help

Post by Guest 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
avatar
Guest
Guest


Back to top Go down

Solved Re: CCS; Background Image Help

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

Topic solved and archived


CCS; Background Image Help Slgray10

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

Male Posts : 51567
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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