• Resolved zaporogue

    (@zaporogue)


    Hi !
    I want to remove, on my homepage, for the articles the “read more”. I just want to have the title, the picture and the experts. I have a french site, so it’s the expression “poursuivre la lecture…”
    I had made a child theme.
    My website : fetrasun.toile-libre.org
    How can i do ?
    Thx a lot for your answer

Viewing 8 replies - 1 through 8 (of 8 total)
  • If your child theme doesn’t have the option to change or remove this link, copy your parent theme’s index.php file and spot ‘read more’ in it.
    Here’s the documentation that explains how to customise the Read More link.

    Thread Starter zaporogue

    (@zaporogue)

    OK. Thx a lot vikas i try immediatly

    Thread Starter zaporogue

    (@zaporogue)

    In fact, i have nothing like that in my index.php file…

    Hi,

    You can remove this simply using a custom CSS:

    .posts .link-more {
    	display: none;
    }
    

    Regards,

    Oliver

    Thread Starter zaporogue

    (@zaporogue)

    Thx a lot for your template and your help webman !

    Thread Starter zaporogue

    (@zaporogue)

    Hi !
    I have put the code in my css child’s theme but nothing have changed.
    I give you my file :
    /*
    Theme Name: auberge-child
    Template: auberge
    Author: lolo – auberge
    Author URI: https://www.fetrasun.toile-libre.org
    Description: Theme enfant de lolo
    Version: 1.0.1455147313
    Updated: 2016-02-11 10:35:13
    */

    @charset “UTF-8”;

    .home .category-menus{background:#fcfae1}
    .home .category-evenements{background:#f9a41e}
    .home .site, .page-section .posts .hentry, .nav-search-form .search-field {
    background-color: #8FCF3C;
    a, .accent-color {
    color: #63100F;
    }
    .posts .link-more {
    display: none;
    }
    You can see the “poursuivre la lecture” in the box on my homepage :
    fetrasun.toile-libre.org
    Thx a lot man !

    Hi,

    You have CSS error in your code. You are missing } after #8FCF3C;.

    Also, just to let you know, you can change accent color in theme customizer at Appearance > Customize > Theme > Colors.

    Regards,

    Oliver

    Thread Starter zaporogue

    (@zaporogue)

    Hi !
    It’s ok this time !
    Many thx !

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove "read more"’ is closed to new replies.