BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Change notification to bubble with number
Tagged: Notification
- This topic has 6 replies, 2 contibutors, and was last updated 8 years, 7 months ago by Anve S..
Question
March 31, 2016 at 6:01 pm #66377@costyclanIs it possible to change the notification to a bubble with a number rather than just a dot. I use fairly monochromatic styling so the notification does not stand out enough I am afraid. I would like to try either a black or red bubble with white text for the number. See screenshot.
Answers
April 1, 2016 at 12:20 am #66412@anveHi @csotyclan,
Try adding following css in child theme custom css option .
@media screen and (min-width:481px){ #user-messages .count > b,#all-notificatios .pending-count > b { background-color: #000; border-radius: 16px; color: #fff; font-size: 12px; line-height: 15px; padding: 0 4px; position: absolute; right: 14px; top: 16px; } }
Regards
AnveApril 5, 2016 at 1:09 am #66852@costyclan@anve that has added the bubble but the original small dot is still visible. Can you please assist with further code to make this look better? (screenshot attached)
Thank you kindlyApril 5, 2016 at 1:23 am #66859@anveHi @costyclan,
Please try adding following css in child theme custom css option.
@media screen and (min-width:481px){ .header-notifications #user-messages span.count::before { content: "u" !important; } .header-notifications .notification-link span:before { content: "I"!important; }
Regards
Anve
}April 5, 2016 at 1:25 am #66861@anveHi @costyclan ,
Sorry mistyped, add following css .
@media screen and (min-width:481px){ .header-notifications #user-messages span.count::before { content: "u" !important; } .header-notifications .notification-link span:before { content: "I"!important; } }
Regards
AnveApril 5, 2016 at 4:03 am #66877April 5, 2016 at 4:12 am #66878@anve
- The question ‘Change notification to bubble with number’ is closed to new replies.