Site logo

Archived topic

Read more text on right-side with hover effect

10 replies · Started by Dev on July 22, 2021

Viewing posts 1–11 of 11

Hello,

At present, my Read more button is coming on the left side like this - https://prnt.sc/1edk9y5

But I want to place my read more button on the right side like this - http://prnt.sc/1edjw86. This site address is - https://woorkup.com/

By like this, I mean I also want the hover effect, as you saw in the above woorkup site.

I had added my site address in a private box.

Please let me know how I can achieve this.

Hi there,

try adding this CSS:

.read-more {
    margin: 20px 30px;
    float: right;
    border-bottom: 2px solid rgba(35, 117, 214, 0.4);
}

Thanks, but the above CSS is not working. I added that in my child theme, but it is not working.

Try clearing your browser caches as i can see it in my browser

Try this CSS:

@media (min-width: 769px) {
.blog .inside-article, .archive .inside-article{
    display: flex;
    flex-wrap: wrap;
}

.blog .inside-article .post-image, .archive .inside-article .post-image {
    width: 40%;
}

.blog .inside-article .entry-summary, .archive .inside-article .entry-summary{
    width: calc(60% - 42px);
}

.blog .inside-article header.entry-header, .archive .inside-article header.entry-header{
    width: 100%;
}

.blog .inside-article a.read-more, .archive .inside-article a.read-more {
    margin-top: auto;
    margin-bottom: 0;
}

.blog .inside-article .entry-summary p, .archive .inside-article .entry-summary p{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
}

Let me know :)

Hello,

The above CSS is not working. Would you please tell me what I should do?

Hello,

Any update on this issue.

Hello,

The problem with ying CSS code is that the hover effect and underline are missing. Please once see the below video of the woorkup site for a clear idea.

Video link - https://share.getcloudapp.com/qGuJPJbw?collection_id=3nfnMp

Also, let me know how to add the arrow after Read more, as you see on the woorkup site.

The CSS I provided should not interfere with your hover effect CSS.

Your site or your browser seems to have some cache issue, this is what I see:
https://www.screencast.com/t/DPxJP150MI

to add the arrow, you just need to go to Customizing > Layout > Blog, and change the Read more label to Read more →.

This archived topic is closed to new replies.