#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Suggestion: Don't u...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] Suggestion: Don't use the CSS class in multiple places

    Last Post
RSS

philraymond
Posts: 37
 philraymond
Topic starter
March 11, 2020 11:22 pm
(@philraymond)
Eminent Member
Joined: 2 years ago

I want to hide my members' group and join dates but not their member titles, but I can't do that because you use the same css class for all 3:

<div class="profile-stat-data-item">Group: Registered</div>
<div class="profile-stat-data-item">Joined: 2013-04-12</div>
<div class="profile-stat-data-item"><span class="wpf-member-title wpfrt" title="Rating Title">Active Member</span></div>

It would be nice if you had different classes on everything. That goes for other parts of the forum, too. Thanks!

1 Reply
Alvina
Posts: 1873
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
March 12, 2020 9:34 am
(@alvina)
Member
Joined: 3 years ago

Hi @philraymond,

You can hide the elements by using the parent/child structure.

In your case, if you want to hide the group and join dates, you should use the following codes:

.profile-stat-data-item:first-of-type {
display: none !important;
}
.profile-stat-data-item:nth-of-type(2) {
display: none !important;
}

The CSS codes should be added it the Dashboard > Settings > Styles admin page "Custom CSS code" textarea.

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
philraymond liked
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Font Awesome Icons

    By seancallahan, 1 day ago

  • Notification bell order

    By teepeenomad, 2 days ago

  • Not İndexing

    By selinahub, 3 days ago

  • H1 to H6 title tags : remove

    By venus, 3 days ago

  • Can't access forum dashboard 504 gateway time-out

    By Joselito, 3 days ago

  • Sharing with Facebook and Twitter is kind of broken

    By seancallahan, 4 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • shortcode32
  • spam31
  • forum accesses30
  • widget29
View all tags (2188)

Recent Posts

  • Font Awesome Icons

    To start, I do not have any caching setup on the site o...

    By seancallahan, 1 day ago

  • RE: Is there a way to add safety features?

    @chris Is there a way for me to install 2.0 on my site ...

    By seancallahan, 1 day ago

  • RE:

    By Anonymous, 53 years ago

  • RE: Notification bell order

    @tutrix Brilliant, thank you for this! Although, it ...

    By teepeenomad, 1 day ago

  • RE: wpForo 2.0.0.1 beta version is released for beta testers!

    Added, thank you.

    By Robert, 2 days ago

  • RE: Post title length error.

    Hi @hasanaytac, Please provide your forum URL.

    By Chris, 2 days ago

  • RE: Health.gd Health website

    Nice forum, still you have an issue / crash: Uncaught...

    By dimalifragis, 3 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,926 Topics
50.2 K Posts
4 Online
47.8 K Members

Latest Post: Font Awesome Icons Our newest member: lucindalovejoy5 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation