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.

Removing Username from post body ?

View previous topic View next topic Go down

Solved Removing Username from post body ?

Post by Skitoritto on February 22nd 2014, 12:54 pm

Hi,me again.
Website Link : www.destinydraw.forumotion.com
Version : Invision

What I want to do is remove Redrectangle from the picture.
As my user-names display above the avatar.
Image:


Last edited by Skitoritto on February 22nd 2014, 3:58 pm; edited 1 time in total

Skitoritto
New Member

Male Posts : 7
Reputation : 1
Language : Yugoslavian

http://www.destinydraw.forumotion.com

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Shek Crowley on February 22nd 2014, 2:57 pm

Hello! Hello

Add this code in your CSS Very good
Code:
.postprofile-details dt a {
  display: none !important;
}

.postprofile-details dt a span {
display: none !important;
}
Save and acess your forum Wink

See you!

Shek Crowley
Active Poster

Male Posts : 1191
Reputation : 35
Language : Portuguese and English
Location : Brazil

http://www.shiftactif.com/

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Skitoritto on February 22nd 2014, 3:00 pm

Yeah it works , thanks mate Very Happy.
Edit: It now won't display my avatars o.o .

Skitoritto
New Member

Male Posts : 7
Reputation : 1
Language : Yugoslavian

http://www.destinydraw.forumotion.com

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Shek Crowley on February 22nd 2014, 3:34 pm

Hello!

Sorry... I had forgotten what he did this EmbarassedEmbarassed. Remove this CSS code:
Code:
.postprofile-details dt a {
  display: none !important;
}
And add this in Modules > Manage pages Javascript > New page JS > Investiment > In Topics > and paste the code:
Code:
$(document).ready(function() {
$('.postprofile-details dt a:eq(1)').css("display","none");
});
See you!

Shek Crowley
Active Poster

Male Posts : 1191
Reputation : 35
Language : Portuguese and English
Location : Brazil

http://www.shiftactif.com/

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Skitoritto on February 22nd 2014, 3:56 pm

It's working now Very Happy. Thanks.

Skitoritto
New Member

Male Posts : 7
Reputation : 1
Language : Yugoslavian

http://www.destinydraw.forumotion.com

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Shek Crowley on February 22nd 2014, 4:22 pm

If you prefer, you can only use that code and will get the same result:
Code:
jQuery(document).ready(function() {
jQuery('.postprofile-details dt a:eq(1), .postprofile-details dt a span').css("display","none");
});
So no need to separate the other using CSS.

Shek Crowley
Active Poster

Male Posts : 1191
Reputation : 35
Language : Portuguese and English
Location : Brazil

http://www.shiftactif.com/

Back to top Go down

Solved Re: Removing Username from post body ?

Post by Base on February 22nd 2014, 6:14 pm

Since this topic has been marked as solved, I will now move it to the archives.

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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