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.

Remove e-mail button from post profile

View previous topic View next topic Go down

Solved Remove e-mail button from post profile

Post by Guest on August 5th 2012, 11:37 pm

I have managed to remove the "view profile" and "private message" buttons from profile in posts through CSS:

Code:
.postprofile img.i_icon_profile, img.i_icon_pm {
  display: none!important;
}

Now, for some reason the e-mail button doesn't seem to have a class, so I can't hide it the same way as the other buttons. I do know that I can replace the button with an empty image in Pics Management> Buttons, but I use a code which adds a border around images in post profile;

Code:
.postprofile img {
background: none repeat scroll 0 0 #212121;
border: 1px solid #444;
max-height: 150px;
max-width: 150px;
padding: 3px;
}

So if I replace the button image with an empty one, the border will still appear around the blank image. Is there any way I can remove it completely?

Thanks in advance!

[Edit:] Forum link: http://te-mafia.createatopic.com/t1-forum-rules


Last edited by pAiNleSS. on August 6th 2012, 1:48 pm; edited 2 times in total

Guest
Guest


Back to top Go down

Solved Re: Remove e-mail button from post profile

Post by Sanket on August 6th 2012, 7:15 am

Displat>Pics management
Advanced mode
Buttons tab
Email: Check the Hide radio box.
Save.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Remove e-mail button from post profile

Post by Guest on August 6th 2012, 12:30 pm

Would it be possible to remove it completely, instead of replacing it with a blank one?

Guest
Guest


Back to top Go down

Solved Re: Remove e-mail button from post profile

Post by Nera. on August 6th 2012, 2:55 pm

Hi,

Add this to your CSS. It should work::

Code:
.postprofile a img[title="Send e-mail"] {
    display: none;
}

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Solved Re: Remove e-mail button from post profile

Post by Guest on August 6th 2012, 4:48 pm

Thanks a lot, Nera! It works flawless.

Issue solved.

Guest
Guest


Back to top Go down

Solved Re: Remove e-mail button from post profile

Post by Sanket on August 6th 2012, 4:49 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.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