• triton63

    (@triton63)


    Hi,
    Displaying a category:
    For each article, the title appears below the date. How do I place it on the same line as the date, on the right of the date?
    See the snapshot: https://prnt.sc/vqb7aa
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • akhlesh-nagar

    (@akhlesh-nagar)

    Hi
    For this create a category.php in the child theme directory and copy the code from this link and paste inside the newly created category.php file

    Thanks
    Akhilesh

    Thread Starter triton63

    (@triton63)

    Hi,
    Thanks for your answer but there are some problems you can see on the snapshot:
    https://prnt.sc/vqiijb
    – The date format is not correct. I only want “23 octobre” and not “23 octobre 2020”
    – I don’t want the comments to be displayed (small cloud with the number 0)
    Thanks.

    Thread Starter triton63

    (@triton63)

    Hi,
    I succeeded to modify the file category.php and I get the date in the right format, without comments.
    But I also get a large white space in the first colum you can see on the snapshot below, whereas this problem had been solved by one of your previous messages: this space appears again.
    https://prnt.sc/vqiy4i

    Thanks.

    akhlesh-nagar

    (@akhlesh-nagar)

    HI
    See the snapshot and confirm, Is the right space would you want to remove.
    https://prnt.sc/vqzw8r
    Kindly clear us so that we can assist you better.

    Thanks

    Thread Starter triton63

    (@triton63)

    Hi,
    No, it isn’t.
    It’s the right space below the post “En avant les filles” and on the right of the post “Seniors+”.
    You can see on the snapshot:https://prnt.sc/vr0ows
    You suggested me the code:
    .category .col-md-6:nth-child(5) {
    clear: both !important;
    }
    But this does not always work, it depends on the length of the excerpt displayed in the article.
    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem displaying a category’ is closed to new replies.