Editing the category page

  • Author
    Posts
  • #162790

    Hello! On my website, on the RECIPES page, there are categories: BREAKFAST, DINNER, SAUCE, SALAD. I would like to remove the recipe captions (excerpts from) on these category pages. Leave only the names of the recipe. I don’t understand where can I do this?
    https://wordpress.com/customize/bibleoftaste.com
    Thanks!

    The blog I need help with is bibleoftaste.com.

    #162811

    ricardpriet
    Theme Author

    Hello there,

    try this custom CSS:

    body.category-breakfast .entry-summary p,
    body.category-dinner .entry-summary p,
    body.category-salad .entry-summary p,
    body.category-sauce .entry-summary p {
        display: none;
    }

    Please, let us know if it works correctly :)
    Thank you,
    Ricardo

    #162813

    Yes!
    Thanks a lot. That helped!.

    #162814

    ricardpriet
    Theme Author

    Nice to hear that,

    you are welcome!

    #162815

    Please tell me, can I edit the category pages myself somewhere? For example change the width of the page?

    #162816

    ricardpriet
    Theme Author

    Yes, you can.

    For example, to get the full width for the breakfast category page:

    body.category-breakfast #content .container {
        width: 100%;
    }

    Just duplicate the code and change the category selector for “body.category-dinner” if you want to style other category.

    Best,
    Ricardo

    #162818

    Cool! Thank you very much!

The topic ‘Editing the category page’ is closed to new replies.