Support » Plugin: Posts in Sidebar » Changing Style for Title Links

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author aldolat


    You can create a style for this class, for example:

    a.pis-title-link { color: red }

    If it doesn’t work, you have to check if there is another rule that bypasses it according to the Cascading StyleSheets rules.

    If you post here the link to your site, I can give more help.

    I used your suggestion but it did not change anything.
    Something was overriding the style.

    I then tried your suggestion and added the !important value, for example:

    font-family: “Times New Roman”, Georgia, Times, Serif !important;

    Now everything is great!

    Thanks for your help and keep up the good work!

    Plugin Author aldolat


    Using !important is not always the best way, and it should be considered as the last chance. As I said in my previous post, you should check which is the rule that overrides the simple declaration:

    a.pis-title-link { color: red }

    So, for example, if in your style.css there is a declaration like:

    #sidebar a.pis-title-link { color: blue }

    this will ever override the simple a.pis-title-link.

    I agree with you. Sometimes it is necessary if you are looking for a quick fix and client is breathing down your neck.

    I’m actually using your plugin not for the sidebar but for the main page area (using shortcodes). I really love how your plugin allows for some flexibility in the way posts are displayed. I use it regularly for my sidebars

    Anyway your suggestion worked like a charm when I modified
    #sidebar and adapted it to the main page section.

    If you have any further suggestions – I’m all ears.
    Thanks again and keep up the great work.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing Style for Title Links’ is closed to new replies.