Title: Alternative Message Custom CSS
Last modified: August 31, 2016

---

# Alternative Message Custom CSS

 *  Resolved [Robert](https://wordpress.org/support/users/kinderrwindstreamnet/)
 * (@kinderrwindstreamnet)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/alternative-message-custom-css/)
 * Hi,
    Everything is working great with the modal box pop-up and alternative message.
   However I can’t get the custom CSS to work for the alternative message via the
   plugin settings. I read the older forum Q&A about Responsive Text Box where you
   said to use the following CSS example:
 *     ```
       .an-alternative {
           background-color: #fff;
           border: 2px solid #AD3428;
           padding: 10px;
       }
       ```
   
 * I enabled “Clone Ad Container: Custom Mode” and pasted the individual style elements
   in the “Custom Mode CSS properties ( Comma separated )” field, e.g. “background-
   color: #fff, border: 2px solid #AD3428” etc, saved, flushed, regenerated random
   files, cleared the browser cache, closed & reopened the browser but it had no
   effect.
 * Next I cleared the Custom Mode CSS Properties field and pasted the above CSS 
   code “.an-alternative { … }” into the “Custom CSS ( Advance users )” editor. 
   It looked great with syntax highlighting – nice touch! Saved, flushed and regenerated
   but still no effect after clearing the browser cache, closing and opening the
   browser.
 * I didn’t find the .an-alternative style in Firebug or the Chrome Inspector when
   examining the alternative messages.
 * What did work was appending the above CSS to the CSS/an-style.min.css with the
   line breaks and white spaces removed for minification. The alternative message
   container is responsive, too!
 * I checked the documentation on b-website.com but the screens don’t show a Custom
   CSS example.
 * What am I doing wrong?
 * Thanks
 * [https://wordpress.org/plugins/adblock-notify-by-bweb/](https://wordpress.org/plugins/adblock-notify-by-bweb/)

Viewing 1 replies (of 1 total)

 *  [Brice Capobianco](https://wordpress.org/support/users/brikou/)
 * (@brikou)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/alternative-message-custom-css/#post-7171960)
 * Hi Robert,
    It seem’s you’re almost close! You juste have to paste the above 
   CSS lines in the Custom CSS ( Advance users )” editor. Don’t touch the “Custom
   Mode CSS properties ( Comma separated )” field. Then save the option page. If
   it still does not work : 1 – Disable “random selectors and files” and save 2 –
   Enable “random selectors and files” and save 3 – Empty you WordPress cache if
   you use any caching plugin
 * Best,

Viewing 1 replies (of 1 total)

The topic ‘Alternative Message Custom CSS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/adblock-notify-by-bweb_b1dae3.svg)
 * [Ad Blocker Notify Lite](https://wordpress.org/plugins/adblock-notify-by-bweb/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adblock-notify-by-bweb/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adblock-notify-by-bweb/)
 * [Active Topics](https://wordpress.org/support/plugin/adblock-notify-by-bweb/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adblock-notify-by-bweb/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adblock-notify-by-bweb/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brice Capobianco](https://wordpress.org/support/users/brikou/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/alternative-message-custom-css/#post-7171960)
 * Status: resolved