Support » Plugins and Hacks » Flexible Posts Widget » [Resolved] Changing the link colors

[Resolved] Changing the link colors

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author DaveE


    Hi Silvermane,

    Without a link to preview the issue it’s hard to say why the links are still black. I’m guessing this is because the default FPW template includes heading tags (such as an <H4> for the post title) and your theme may style them differently (with black) than with generic <a> tags. Try adding a CSS declaration like this: .dpe-flexible-posts a h4 {color:red;} to see if you can make the links red.

    Hopefully that helps,

    Thanks, Dave, that did the trick! 🙂

    Plugin Author DaveE


    Good to hear! Yes, I’m thinking I may adjust the default template in the future so it uses a more traditional (X)HTML4 structure as supposed to the current HTML5 structure. Sorry for the trouble.

    for someone who knows just enough about coding to be dangerous, which .css file should that addition be made? or is it a line of code unto itself?

    Nevermind, fixed it. Was just a line of code unto itself.

    Plugin Author DaveE


    Glad to hear you were able to figure it out. Nice work!

    Just stumbled upon this same issue and solved it with a bit of CSS to apply my link and hover colors back to the links.

    If the code was structured differently: <h4></h4>
    instead of having the h4 inside of the a tag as it currently stands, would this solve the problem of over-riding the link styles with the h4 style?

    It’s not a huge ordeal as I have it fixed now, but should I ever change my default link colors, I’ll have to remember to change the CSS for this widget’s output too! Anyway, I’m not sure if it’s even feasible for you to change this structure, but just in case it is possible, I thought it worth mentioning since it would make things easier and more consistent for your end users. 🙂

    Thanks for an awesome plugin by the way…you solved a big problem for me and saved me lots of time and agony!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Changing the link colors’ is closed to new replies.