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.

Code to hide "topics" and "posts"

3 posters

Go down

Code to hide "topics" and "posts" Empty Code to hide "topics" and "posts"

Post by magicm00n Tue 6 Mar - 16:04

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

Example in the pic:
Code to hide "topics" and "posts" Hide10
magicm00n
magicm00n
Active Poster

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

Back to top Go down

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

Post by Guest Tue 6 Mar - 16:46

Hi!

Can you provide your forum url? Very Happy
avatar
Guest
Guest


Back to top Go down

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

Post by magicm00n Tue 6 Mar - 16:53

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

Can you help me with the code?
magicm00n
magicm00n
Active Poster

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

Back to top Go down

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

Post by Scouts Mom Tue 6 Mar - 17:13

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
Scouts Mom
Forumember

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

Back to top Go down

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

Post by magicm00n Tue 6 Mar - 17:42

My version is phpbb3
magicm00n
magicm00n
Active Poster

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

Back to top Go down

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

Post by midoweb96 Tue 6 Mar - 19:22

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

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

Back to top Go down

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

Post by Guest Tue 6 Mar - 19:40

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>');
});
avatar
Guest
Guest


Back to top Go down

Back to top


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