Posts in Sidebar
[resolved] Changing Style for Title Links (5 posts)

  1. Monty Dean
    Posted 2 years ago #

    Have no problem changing the style for the title (.pis-title).
    How do I change the style for title links?


  2. aldolat
    Plugin Author

    Posted 2 years ago #

    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.

  3. Monty Dean
    Posted 2 years ago #

    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!

  4. aldolat
    Plugin Author

    Posted 2 years ago #

    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.

  5. Monty Dean
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts in Sidebar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.