• Resolved Parwaiz Khan

    (@parwaiz-khan)


    Hello Signor Aldo,

    I am trying to target the “Read More” link? Here is the short code that pulls the posts in the page [pissc number=100 cat=”Front” the_more=”  … Read more →”]

    I tried many combinations of CSS like;
    a.pis-more-link {
    text-align:right;
    }

    (I am inserting this code in the WP’s custom CSS.)

    None seems to be working. Any suggestions?

    Thank you.
    Parwaiz

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Hello Signor Khan,
    the HTML a tag is an inline element that cannot receive a style for a block element like text-align. But you can tell the browser to consider a specific a tag as a block.

    So, you can use this CSS:

    
    a.pis-more-link {
    	text-align:right;
    	display: block;
    }
    

    Let me know, please.

    Thread Starter Parwaiz Khan

    (@parwaiz-khan)

    Signor Aldo,
    It worked like a Charm! Thanks a lot.

    Posts in Sidebar is an amazingly well thought, well designed, and well coded plugin. The beauty is in its simplicity and functionality. And, on top of it is the superb support from you.

    I wrote a review of it, I think, a couple of years ago when I first installed it on another of my site. Now, with more updates, it has become even more easy to configure and use.

    I’ll soon be writing a detailed new review of this plugin.

    Thank you again for all your help and support.

    Plugin Author Aldo Latino

    (@aldolat)

    You are welcome! Thanks for your kind words. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to target the Read more link’ is closed to new replies.