• Resolved Howdy_McGee

    (@howdy_mcgee)


    Hello,

    This isn’t really a support request but a feature request. I think it could be beneficial if whenever the notification bar was active on a page, a class was added to the body tag to denote this (using the body_class filter hook).

    I currently have a theme with a fixed header and the notification bar is overlapping. With a class on the body tag I could add in some CSS to fix this issue, but wouldn’t want to apply that same CSS if the notification bar is disabled.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Swathi S

    (@swathiswpfront)

    Hello @howdy_mcgee,

    This can be solved in two ways,

    1. You can give the ‘Selector’ of your fixed header into the ‘Theme Sticky Selector’
    Option on the Settings page to get rid of overlapping.

    2. You can hook into the ‘wpfront_notification_bar_enabled’ filter and fix the issue with the CSS class on the body tag as you did before.

    I hope this helps!

    Thanks!

    Plugin Support Swathi S

    (@swathiswpfront)

    Resolving due to inactivity. If you have any queries please feel free to get in touch with us.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Feature Request] Notification Bar Active Body Class’ is closed to new replies.