New message / New announcement widget text and count colour change


Home Forums Front End PM PRO New message / New announcement widget text and count colour change

This topic is: Not Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16834
    Andrew Perryman
    Participant

    Hi Shamim,

    I was wondering if it is possible to create an action to place in the function file to turn the widget New message / announcement widget text and count colour to read as below CSS via an if statement when the count is greater than “0”

    Do you have anything already in the arsenal to do this or would it need be a hook in in the function file?

    And if so which function file would it be best to place it in as there would be my child function file and two of your core function file , the main and pro folder?

    Current css for red text count.

    .fep_unread_message_count_text {
    color: #ff0000;
    }
    .fep_unread_announcement_count_text {
    color: #ff0000;
    }

    Andrew

    #16850
    Shamim Hasan
    Keymaster

    There is FEP Empty Widget where you can use hook to show what you want. You can also check “Display help to configure this widget in front end?” when setup this widget so in front-end it will show which php code you need to hook to that widget.

    Any custom code always goes to child theme’s functions.php (or if you have custom plugin for this then in that plugin). That way you can update plugins and themes without loosing your custom code.

    #16898
    Andrew Perryman
    Participant

    Thanks for the heads up Shamim..

Viewing 3 posts - 1 through 3 (of 3 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.