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.

Post Backgrounds

3 posters

Go down

Post Backgrounds Empty Post Backgrounds

Post by Hëłłçøŵ January 12th 2013, 12:39 pm

Hello,
I wanna ask if there is any way to add custom background to posts, I have a phbb3 forum, and that would be great to add a specific background to posts. Thanks in advance!
avatar
Hëłłçøŵ
New Member

Posts : 4
Reputation : 1
Language : Hungary

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by levy January 12th 2013, 12:45 pm

You want to only forum staff have custom background ?
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by Hëłłçøŵ January 12th 2013, 1:08 pm

RicYiu wrote:You want to only forum staff have custom background ?

Nope, I want for everyone who post.
avatar
Hëłłçøŵ
New Member

Posts : 4
Reputation : 1
Language : Hungary

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by levy January 12th 2013, 1:10 pm

.post{
background:Red;}

Change red with your colour. ,if you want round corners and a border

Code:
.post{
background:red;
border:1px solid red;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;}
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by Hëłłçøŵ January 12th 2013, 1:14 pm

RicYiu wrote:.post{
background:Red;}

Change red with your colour. ,if you want round corners and a border

Code:
.post{
background:red;
border:1px solid red;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;}

Thanks, but it is possible to add an picture?
avatar
Hëłłçøŵ
New Member

Posts : 4
Reputation : 1
Language : Hungary

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by levy January 12th 2013, 1:15 pm

yes

Code:
.post{
background: url(link for image) ;}
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by Hëłłçøŵ January 12th 2013, 1:18 pm

RicYiu wrote:yes

Code:
.post{
background: url(link for image) ;}

Thanks, I try it. Wink

EDIT: Oh, it works perfectly, just need to get the correct size which same as the post. Hm, how can I do that?


Last edited by Hëłłçøŵ on January 12th 2013, 1:21 pm; edited 1 time in total
avatar
Hëłłçøŵ
New Member

Posts : 4
Reputation : 1
Language : Hungary

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by levy January 12th 2013, 1:19 pm

No problem ,anytime.
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Post Backgrounds Empty Re: Post Backgrounds

Post by Kaizer Lee January 13th 2013, 5:26 am

The code provided by RicRyiu, do this:

Code:
.post{
background: url(link for image) ;
width: In px;
height: In px;
}

Just modify the width and height to your desired size.
Kaizer Lee
Kaizer Lee
Active Poster

Female Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines

http://www.medievalchaos.net/forum

Back to top Go down

Back to top

- Similar topics

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