#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...
Style for the posts
 
Share:
Share
Tweet
Share
Notifications
Clear all

Style [Solved] Style for the posts

    Last Post
RSS

aung
Posts: 23
 aung
Topic starter
March 18, 2021 1:12 pm
(@aung)
Eminent Member
Joined: 1 year ago

How can I make a custom style that affects only the posts?

9 Replies
Robert
Posts: 9091
Robert - Twitter
 Robert
Admin
March 18, 2021 3:14 pm
(@robert)
Support Team
Joined: 6 years ago

@aung,

What exactly are you trying to do?

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
1 Reply
aung
 aung
(@aung)
Joined: 1 year ago

Eminent Member
Posts: 23
March 19, 2021 3:11 am
Reply toRobertRobert

@robert

I'd like to have dashed text-decoration for <a> tag in the posts only. Such as below:

a {
  text-decoration: underline;
  text-decoration-style:dashed;
}

I don't want this to affect other places than posts.

Reply
Macky
Posts: 777
 Macky
Beta Tester
March 18, 2021 6:16 pm
(@percysgrowroom)
Prominent Member
Joined: 3 years ago
#wpforo-wrap.wpft-post  {

}

I think this will do it, but you have to add what changes you like in between the brackets

Check out my Wpforo forum, lots of customisations and add ons 🙂
Percys Grow Room

Reply
aung liked
6 Replies
aung
 aung
(@aung)
Joined: 1 year ago

Eminent Member
Posts: 23
March 19, 2021 3:15 am
Reply toMackyMacky

@percysgrowroom

No, it does not work. ☹️ 

Reply
Tutrix
 Tutrix
Beta Tester
(@tutrix)
Joined: 2 years ago

Honorable Member
Posts: 632
March 19, 2021 4:56 am
Reply toaungaung
Macky

@aung

#wpforo #wpforo-wrap .wpforo-post-content a{
    text-decoration: underline;
    text-decoration-style:dashed;
}

visit my wpForo > Tutrix.de with lots of customization & modification, inclusive chat

Reply
aung liked
aung
 aung
(@aung)
Joined: 1 year ago

Eminent Member
Posts: 23
March 19, 2021 5:11 am
Reply toTutrixTutrix
aung
Macky

@tutrix it works! thanks a lot.

Reply
aung
 aung
(@aung)
Joined: 1 year ago

Eminent Member
Posts: 23
March 19, 2021 5:47 am
Reply toTutrixTutrix
aung
Macky

@tutrix 

It's weird!
The style affects all the posts - that's what I wanted.
It also affects the signatures - that's okay, I like it.
But it affects the signatures in the forums of the first category only.
I tried with "! important rule", but no luck.

Reply
Tutrix
 Tutrix
Beta Tester
(@tutrix)
Joined: 2 years ago

Honorable Member
Posts: 632
March 19, 2021 5:56 am
Reply toaungaung
Tutrix
aung
Macky

@aung

use this code instead of the one above

#wpforo #wpforo-wrap .wpforo-post-content a, #wpforo #wpforo-wrap .wpforo-post .wpforo-post-signature a{
    text-decoration: underline;
    text-decoration-style:dashed;
}

visit my wpForo > Tutrix.de with lots of customization & modification, inclusive chat

Reply
aung liked
aung
 aung
(@aung)
Joined: 1 year ago

Eminent Member
Posts: 23
March 19, 2021 6:17 am
Reply toTutrixTutrix
aung
Tutrix
aung
Macky

@tutrix brilliant! It works! 👍 

Reply
Tutrix 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

  • Why doesn't Google index pages?

    By Onurkansan, 4 hours ago

  • Attachments not showing on forums posts after migration

    By Formicid, 2 days ago

  • New Feature About Plugin Customization and Integration

    By z14165899, 3 days ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 3 days ago

  • Import users from IPBoard

    By jesusdlg, 4 days ago

  • Intruder signing in to wpforo without approval

    By plaurits, 4 days ago

Topic Tags

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

Recent Posts

  • RE:

    By Anonymous, 53 years ago

  • RE: Why doesn't Google index pages?

    I did not use any caching plugin. I canceled the cache ...

    By Onurkansan, 2 hours ago

  • RE: Member Reputation with Likes?

    @mpanichi, in wpForo 2.0 you can set Points for One T...

    By Chris, 1 day ago

  • RE: Hide user roles from Members list

    Hi @mpanichi Edit the needed usergroup and disable/un...

    By Chris, 1 day ago

  • RE: Description for each topic?

    @chris That's really too bad. I was ready to send you ...

    By Christine, 2 days ago

  • RE: There are versions of wpforo functions that return string?

    Amazing 👍

    By Marco Panichi, 2 days ago

  • RE: About Plugin Customization and Integration

    Hi @z14165899, Please send your request to sales[at]g...

    By Chris, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,943 Topics
50.3 K Posts
9 Online
48.7 K Members

Latest Post: Why doesn't Google index pages? Our newest member: lexteraja129 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