REMOVE 'written by', 'posted in', 'comments' from my posts

  • Author
    Posts
  • #3027985

    89books
    Member

    Hi everyone,
    I’m new to wordpress and css in general, I’m trying to set up this e-commerce website with storefront theme. I managed to remove a few things I didn’t want with css but I’m having trouble with the blog posts in my homepage, I’d like to remove the sections on the left of each post (‘written by’, ‘posted in’, ‘comments’). The posts were already on a tumblr blog, they’ve been synced all together.

    Since I’m here, I have an extra question about the css editing section in my customization bar (admin>appearance>customize>additional css): do all the tweaks I want to add go in the same sheet? I’m using a child theme obviously.

    Thanks!

    The blog I need help with is 89books.net.

    #3028173

    Hi there, the best place to put the custom CSS would be in the Additional CSS section in the Customizer as it is very easy to get back to it and make changes and additions. The alternate is to edit your child theme CSS file directly via Appearance > Editor, but I would suggest the first option.

    The following custom CSS will remove the entry metadata and center your posts within the page. Currently with only the two images in the first two posts, things look a bit off, but if you scroll down you will see that things are centered.

    .blog .entry-meta {
      display: none;
    }
    @media screen and (min-width: 768px) {
      .blog .hentry.type-post .entry-content {
        margin-left: auto;
        margin-right: auto;
        float: none;
      }
    }

    #3028256

    89books
    Member

    Thank you, that helped a lot!

    I also have another issue: I have created two pages called ‘books’ and ‘prints’, and I put them as subcategories in the Shop section. How do I connect these two pages to the woocommerce ‘books’ and ‘prints’ categories I created?

    #3028279

    I don’t believe you can, what you will have to do is to use the Woocommerce Books and Prints categories pages. As you create your products, you categorize those in Woocommerce, and then you can use the links to those Woo category pages in your menu.

The topic ‘REMOVE 'written by', 'posted in', 'comments' from my posts’ is closed to new replies.