Action Button

  • Author
    Posts
  • #130639

    erf87
    Member

    Hi,

    it is possible to get a link directly on the picture of a post? Now you have to click on the title of the post in order to read the article.

    If not, how can I create an action button like “Read article” on the picture?

    How can I underline the title of the post showed on the picture?

    Thanks

    Dario

    The blog I need help with is hamburgzuzweitcom.wordpress.com.

    #130668

    ricardpriet
    Theme Author

    Hi Dario,
    thank you for writing.

    This is not a perfect solution, because the best way to do this is editing the HTML, but unfortunately users in WordPress.com don not have access to this point. So with CSS we can get a similar behaviour. Just add this CSS to your site:

    .post-grid-content .entry-title a:after {
        content: "";
        display:  block;
        width: calc(100% + 120px);
        height: 100%;
        position: absolute;
        bottom: -130px;
        left: -60px;
        height: 450px;
    }
    .post-grid-content .entry-meta {
        z-index: 1;
        display: inline;
    }

    Here you are how to add it: https://en.support.wordpress.com/custom-design/editing-css/

    To underline the titles, add this CSS:

    .post-grid .text-container h1.entry-title {
        text-decoration: underline;
    }

    Hope this helps :)
    Ricardo P. from SiloCreativo

The topic ‘Action Button’ is closed to new replies.