• triton63

    (@triton63)


    How can I display the articles of a category in two columns ?
    Now, articles are displayed in a single column.
    Thanks.

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

    (@akhlesh-nagar)

    Hello
    Thanks for contacting us.
    To do so, you need to create a child theme,?For creating a child theme refers to this?link.
    Ignore if you have already created a child theme.
    After it Creates a new file in the child theme with the name??category.php??and edit it, then paste the code in it from this link https://pastebin.com/72cw07Bc
    Save the changes and activate your child theme.
    Let me know for further assistance.

    Thanks
    Akhilesh

    Thread Starter triton63

    (@triton63)

    Hello,
    Hello,
    Thanks for your answer.
    It works but I have some problems:

    1 – Before changing the child theme, when a category displays its articles with one column, I get:
    Category Conferences
    But, with two colums, I get, in addition:
    – the date between the image
    – the title, the name and the informations below the text
    I don’t want the date, the name and the informations, like with one column.

    2 – How to decrease the size of the title of each article ?

    Thanks.

    akhlesh-nagar

    (@akhlesh-nagar)

    Hi
    TO fix the issue add the below css code inside the custom css box.

    .blog-post-title-wrapper {
        float: initial;
        width: 100%;
        text-align: justify;
    }

    let me know for any confusion.
    Thanks

    Thread Starter triton63

    (@triton63)

    Hello,
    Thanks for your answer but it doesn’t work.
    With two columns, I whish to get the same presentation than with one colum: no date, no name, no comment, no category.
    Thanks.

    akhlesh-nagar

    (@akhlesh-nagar)

    Hi @triton63
    pls use the code and share the page URL on which you want to remove the date ,name and comment.
    Pls send the snapshot the things would you want to remove.

    Thanks

    Thread Starter triton63

    (@triton63)

    Hello,
    With two coIumns, I wish to get the same presentation than with one column (no date, no name, no comment, no category).
    Here, with one column in the category, each article appears with no date, no name, no comment and no category: https://utldax.fr/category/conferences/

    In my local site, I put category.php in the child theme: I have got two colums but, when I display a category, each article of the category appears with date, name comment and category.

    Last question: how to decrease the size of the title of each article which is displayed with the category.

    Thanks

    akhlesh-nagar

    (@akhlesh-nagar)

    Hi
    To remove date , comment and same add the below css code inside the custom css box.

    .category .blog-post-date {
        display: none;
    }
    .category  .blog-post-meta {
        display: none;
    }

    Let me know for any confusion.

    Thanks

    Thread Starter triton63

    (@triton63)

    Hello,
    Thanks for your answer, it works half way:
    – now, there is no more the name (of the author) and the category
    – but, it remains the date and, under the date, the figure “O” for the comment.
    – the font size of the title of each article is too big.
    – there is a big space between the second and the third article. Why ?
    Yo can see all that there: https://www.tennistartas.fr/category/competitions/

    THanks.

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