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.

Code to hide "topics" and "posts"

View previous topic View next topic Go down

Code to hide "topics" and "posts"

Post by magicm00n on March 6th 2012, 4:04 pm

Can someone help me out with a code to hide the topics and posts.

Example in the pic:

magicm00n
Active Poster

Female Posts : 1305
Reputation : 217
Language : English
Location : The support forum of Forumotion

Back to top Go down

Re: Code to hide "topics" and "posts"

Post by Guest on March 6th 2012, 4:46 pm

Hi!

Can you provide your forum url? Very Happy

Guest
Guest


Back to top Go down

Re: Code to hide "topics" and "posts"

Post by magicm00n on March 6th 2012, 4:53 pm

My forum is for private(family members only) sorry Crying or Very sad

Can you help me with the code?

magicm00n
Active Poster

Female Posts : 1305
Reputation : 217
Language : English
Location : The support forum of Forumotion

Back to top Go down

Re: Code to hide "topics" and "posts"

Post by Scouts Mom on March 6th 2012, 5:13 pm

We need to know the type of forum you have.
phpBB2, Invasion, et cetera... Since specfic codes are different for some of them.
Also, there may be problems caused later on due to codes clashing.

Scouts Mom
Forumember

Female Posts : 34
Reputation : 2
Language : English
Location : Great Britain

Back to top Go down

Re: Code to hide "topics" and "posts"

Post by magicm00n on March 6th 2012, 5:42 pm

My version is phpbb3

magicm00n
Active Poster

Female Posts : 1305
Reputation : 217
Language : English
Location : The support forum of Forumotion

Back to top Go down

Re: Code to hide "topics" and "posts"

Post by midoweb96 on March 6th 2012, 7:22 pm

Please provide your forum URL for appearance problems
or try this code css
Code:
  .forabg .topics{display:none;}
.forabg .posts{display:none;}

midoweb96
Forumember

Posts : 166
Reputation : 12
Language : Css - Html - Jquery

Back to top Go down

Re: Code to hide "topics" and "posts"

Post by Guest on March 6th 2012, 7:40 pm

If you want to remove the text from header, add this to Javascript codes management:
Code:
$(function(){
$('li.header dd.topics').replaceWith('<dd class="topics"></dd>');
$('li.header dd.posts').replaceWith('<dd class="posts"></dd>');
});

Guest
Guest


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