#1 WordPress forum plugin created by gVectors Team

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

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Editing Recent Post...
 
Share:
Notifications
Clear all

Editing Recent Post widget

    Last Post
RSS

KFJ1972
Posts: 5
 KFJ1972
Topic starter
October 13, 2019 10:10 am
(@kfj1972)
Active Member
Joined: 3 years ago

Hi wpForo,

I think if you could help me with a little wish. I want two row-colors in the Recent Post widget.

Untill now I figure out that it most be in functions-template.php I have to add such row colours, even it would be perfect if could choose two hex row colours in the admin of the widget. But untill such functions in the widget, how can I do myself?

Thanks

KFJ1972

Topic Tags
row color widget Recent Post recent posts widget
4 Replies
VereK
Posts: 258
 VereK
October 13, 2019 10:29 am
(@verek)
Reputable Member
Joined: 3 years ago

@kfj1972

You can do it in CSS. Something along these lines (Where #000 is the colour you want as odd or even alternate)

#wpf-widget-recent-replies > div > ul > li:nth-child(odd) {
background-color: #000;
}
Reply
Sofy liked
KFJ1972
Posts: 5
 KFJ1972
Topic starter
October 13, 2019 11:51 am
(@kfj1972)
Active Member
Joined: 3 years ago

Thanks VereK for your answer,

But I'm not sure where and how to do it. I had been looking into some different CSS-files but without any luck.

I can see on your site in the sidebar that you shift between two different yellow colors. Same as I want on my site in the Recent Post widget, just some other colors.

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 3 years ago

Support Team
Posts: 4064
Sofy - Facebook Sofy - Twitter
October 14, 2019 9:18 am
Reply toKFJ1972KFJ1972

@kfj1972

But I'm not sure where and how to do it. I had been looking into some different CSS-files but without any luck.

The CSS code should be added in  Dashboard > Forums > Settings > Styles > "Custom CSS code" textarea. 

In case if the widgets are being loaded on non-forum pages the code should be added in Top admin bar > Customize > Additional CSS textarea.

In any case, please don't forget to delete all caches and press CTRL+F5 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
VereK liked
VereK
Posts: 258
 VereK
October 14, 2019 9:41 am
(@verek)
Reputable Member
Joined: 3 years ago

@kfj1972

What Sofy said. Also pro-tip; for consistency look at yoursite/recent which does the alternate colour listing by default, choose the same alt colour from there for your widget styling. 

Reply
Sofy liked
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Color Documentation
    7 days ago
  • Widget wpForo Recent Posts does not work well
    1 week ago
  • Problem with Wpforo User profile & notifications widget
    4 months ago
  • Recent Posts Widget
    4 months ago
  • Hide Recent Posts page from unauthorized viewers
    6 months ago
Topic Tags:  row (1), color (5), widget (17), Recent Post (4), recent posts widget (5),

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
View all Addons »

Recent Topics

  • Notification Widgets Apple Issues?

    By Percysgrowroom, 16 hours ago

  • Script Add Search box to any place

    By aflamerich, 1 day ago

  • Publication on facebook, how to link to foro particular post?

    By Jesus, 2 days ago

  • ProfileGrid as default Profile Page

    By brenni, 2 days ago

  • Email Notifications For Users

    By TheVibeDesign, 2 days ago

  • Style Size of avatar and icon

    By vit.hofman, 3 days ago

Topic Tags

  • new features43
  • seo39
  • forum38
  • plugin conflict37
  • translation37
  • buddypress33
  • login33
  • ultimate member30
  • registration30
  • threaded layout30
  • moderation28
  • avatar26
  • editor25
  • menu24
  • shortcode24
  • css24
  • tags22
  • profile22
  • migration20
  • url20
View all tags (1545)

Recent Posts

  • Answer to: Post Topic Button Issue With Many Browsers

    Fix those issues and try again (after clearing your bro...

    By dimalifragis, 7 hours ago

  • RE: How to start a forum?

    @wendell Thank you. I really appreciate the help.I'm ...

    By vit.hofman, 12 hours ago

  • RE: Thatch Finder Forum

    Thank you for the kind words! I'm happy to help by answ...

    By Wendell, 13 hours ago

  • RE: Land Surveyors Community

    It's a long story, but we've rebranded (back) to Survey...

    By Wendell, 14 hours ago

  • Notification Widgets Apple Issues?

    I use the notification widget in my header, as a log in...

    By Percysgrowroom, 16 hours ago

  • RE: New users cannot attach files in topics and comments

    Many thanks.

    By hector, 16 hours ago

  • RE: Mobiel app (android / iOS)

    @vit-hofman 👍 👍 👍

    By st7878, 18 hours ago

Share:
  Forum Statistics
20 Forums
8,080 Topics
40.4 K Posts
4 Online
15.6 K Members

Latest Post: Post Topic Button Issue With Many Browsers Our newest member: christinbernacch 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-2021 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
  • Documentation