• Resolved Bree

    (@lifesgood)


    Hello, and thank you so much for this plugin.

    I was wondering what the importance of the !important is in the subscribe.css file is?

    body .entry-content .pp-sub-widget a:link, body .entry-content .pp-sub-widget a:visited, body .entry-content .pp-sub-widget a:active, body .entry-content .pp-sub-widget a:hover, body .pp-sub-widget a:link, body .pp-sub-widget a:visited, body .pp-sub-widget a:active, body .pp-sub-widget a:hover {
        text-decoration: none !important;
        color: #FFFFFF !important;
    }
    

    I really need to change the colour but I can’t while ever this is there – writing my own CSS with my own !important doesn’t help. Any advice or suggestions?

    Thank you so much in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Shawn

    (@shawnogordo)

    I have asked the Blubrry dev team to look at your question. A response will be posted here as soon as they’ve had a chance to do so.

    Plugin Support Shawn

    (@shawnogordo)

    The Blubrry dev team is actively looking into this. The code snippet you mentioned has the “important” in there because they found that if the code was altered, sometimes the subscribe buttons didn’t display correctly.

    Thread Starter Bree

    (@lifesgood)

    Thank you so much for the update. I hope there is a workaround solution so the buttons can be styled to match my theme?

    Plugin Support Shawn

    (@shawnogordo)

    I can’t say for sure but I will make sure the Blubrry dev team knows this is something you’d like to see in a future update.

    Thread Starter Bree

    (@lifesgood)

    Great, thank you, it’s really important (no pun intended!)

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello Bree,

    Just to give you an update, we’re looking at what options we can do to remove the !important tag for the buttons. I do see in our notes that we added it for situations where other themes were making the buttons inoperable because of how they changed the text. For example the text contracts needs to remain for visually impaired users, and the non underlined text is so the buttons do not have underlines under them.

    Also one option we’re thinking about is a checkbox in the settings that would remove the important tags, would that suffice for you? We’re also working on a similar issue for right to left text, though different problem it’s all about the CSS. 🙂

    Thanks,
    Angelo

    Plugin Support Shawn

    (@shawnogordo)

    This is from Angelo:

    We have a new beta version of the next release of PowerPress available that addresses the problem above.

    Download here: https://create.blubrry.com/resources/powerpress/powerpress-beta/

    To turn off the styling, go to PowerPress Settings > Website tab, near the bottom under the section titled “Subscribe Widget” select “Yes” next to “Custom CSS styling?” to not have the “!important” and “text-align:left” styling added to the CSS.

    Thread Starter Bree

    (@lifesgood)

    Thank you SO much for your help! Really appreciate it Shawn + Angelo. I will try it out.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘!important in CSS’ is closed to new replies.