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.

How to center link in postprofile?

2 posters

Go down

Solved How to center link in postprofile?

Post by rad.nikolov95 July 7th 2020, 11:28 am

Hey, guys.
I need your help again for some code resolve.
This is the forum: https://torenti.bulgarianforum.net/

And check this screenshot for me, please:
How to center link in postprofile? Problem

As you can see - I want to move Test name /username/ to the center as the rank also, if it's possible. (if it's not for the rank - I can make it with <center> code for each rank)

I tried with margin-left, but when I moved it to the center - on the bottom, where are the two images for Profile and PM it's going one bottom one, which is not good for me.
Is there some chance?
Please, check CSS code for the profile also:
Code:
.postprofile{
text-align: center;
}
.postprofile dt a img {
box-shadow: 5px 5px 5px #000000;
margin-top: 0px;
  margin-bottom:8px;
  margin-left: 12px;
}
.postprofile {
background-image: url('');
  border-radius: 30px 0px 100px 0px / 20px 0px 50px 0px;
margin-top: 7px;
border-left: 1px solid #120707;
  border-right: 1px solid #120707;
  border-top: 2px solid #120707;
float: left;
font-family: palatino linotype;
  line-height:90%;
font-size: 10px;
  text-transform:uppercase;
margin-right: -3px;
padding-top: 8px;
color: #000000;
text-align: left;
width: 190px;
box-shadow:2px 2px 2px #000000;
}
.postprofile a:link, .postprofile a:active, .postprofile a:visited, .postprofile dt.author a {
color: #d4d4d4; 
font-family: palatino linotype;
font-size: 14px;
line-height: 40%;
font-weight:800;
  margin-bottom:-15px;
  margin-left: 0px;
letter-spacing: 1px;
font-style:normal;
  text-transform:uppercase;
text-decoration: none;
  text-shadow: 1px 1px 1px #000000;
-webkit-transition: all .1s ease-in-out;
-moz-transition: all .1s ease-in-out;
-o-transition: all .1s ease-in-out;
transition: all .1s ease-in-out;
}
.postprofile a:hover { 
    margin-top:0px;
font-family: palatino linotype;
font-size: 14px;
letter-spacing: 3px;
font-style:normal;
  text-transform:uppercase;
text-shadow: 10px 1px 10px #000000;
  -webkit-transition: all .5s ease-in-out;
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}

Thanks, guys!


Last edited by rad.nikolov95 on July 7th 2020, 12:57 pm; edited 1 time in total
rad.nikolov95
rad.nikolov95
Forumember

Posts : 79
Reputation : 1
Language : Bulgarian, English

http://the-chosen-one.bulgarianforum.net

Back to top Go down

Solved Re: How to center link in postprofile?

Post by skouliki July 7th 2020, 12:22 pm

hello

try to add this

Code:

.postprofile {
    text-align: center !important;
}
skouliki
skouliki
Manager
Manager

Female Posts : 15246
Reputation : 1703
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: How to center link in postprofile?

Post by rad.nikolov95 July 7th 2020, 12:57 pm

Okay, that helped!
Cheers, mate.

Solved!
rad.nikolov95
rad.nikolov95
Forumember

Posts : 79
Reputation : 1
Language : Bulgarian, English

http://the-chosen-one.bulgarianforum.net

Back to top Go down

Solved Re: How to center link in postprofile?

Post by skouliki July 7th 2020, 1:33 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 15246
Reputation : 1703
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top

- Similar topics

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