Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

how to set a background for the writer

3 posters

Go down  Message [Page 1 of 1]

1how to set a background for the writer Empty how to set a background for the writer Sat Jul 27, 2013 8:10 am

Lovely King

Lovely King
User


I want to set a background for the writer in posts like this
how to set a background for the writer Untitl19

I got this picture from here
http://forum.forumactif.com/t355202-rang-2020-pour-amelie-manga-bleachlebonforumcom

My forum link: http://topyouth.gamerzfun.com Handshake

http://topyouth.gamerzfun.com

Sasori

Sasori
Administrator


Make a new rank and there , put that at title :

Code:
<span class="st-rang">RANK TITLE HERE</span>

You can replace RANK TITLE HERE with your title , like Administrator.

Ok , now , create a new javascript and add the next code , mark in topics :

Code:
$(function() {
$('.st-rang').closest('.post').addClass('st-answer');
});

And in the end , you need a CSS style , add that :

Code:
    .post.online.st-answer {
    background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top, url("http://2img.net/i/fa/prosilver/icon_user_online_en.png") no-repeat scroll right top #E5F1F9;
    }
    .post.st-answer {
    background: url("http://i48.servimg.com/u/f48/17/48/49/15/photo10.png") repeat-y scroll left top #E5F1F9;

Lovely King

Lovely King
User


it works but the picture of the member is deleted and I want to set frame like the one in the picture above

http://topyouth.gamerzfun.com

Sasori

Sasori
Administrator


Well , add that in your CSS

Code:
.postprofile {
background: rgba(255, 255, 255, 0.62);
padding: 5px;
border-radius: 3px;
border: 1px solid rgba(0, 0, 0, 0.09);
box-shadow: 0px 0px 5px white;
}

Lovely King

Lovely King
User


thanks but i want make a circle corner like this

how to set a background for the writer Untitl20

http://topyouth.gamerzfun.com

6how to set a background for the writer Empty Re: how to set a background for the writer Sat Jul 27, 2013 10:07 am

Zyon

Zyon
manager


Try this

Code:
.postprofile {
 padding: 0.5em 1em;
 background-color: #fff;
 border: 1px solid #dddddd;
-moz-border-radius-bottomright: 15px;
-webkit-border-bottom-right-radius: 15px;
-moz-border-radius-topleft : 15px;
-webkit-border-top-left-radius: 15px;
}

http://admins.forumotion.com

7how to set a background for the writer Empty Re: how to set a background for the writer Sat Jul 27, 2013 10:16 am

Sasori

Sasori
Administrator


Code:
.postprofile {
background: rgba(255, 255, 255, 0.62);
padding: 5px;
border-radius: 15px;
border: 1px solid rgba(0, 0, 0, 0.09);
box-shadow: 0px 0px 5px white;
}

8how to set a background for the writer Empty Re: how to set a background for the writer Sat Jul 27, 2013 10:31 am

Lovely King

Lovely King
User


thanks solved

http://topyouth.gamerzfun.com

9how to set a background for the writer Empty Re: how to set a background for the writer Sat Jul 27, 2013 10:41 am

Zyon

Zyon
manager


Solved & archived

http://admins.forumotion.com

Sponsored content



Back to top  Message [Page 1 of 1]

Similar topics

-

» I need a background

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