[Resolved] Border on column post for home page

Home Forums Support [Resolved] Border on column post for home page

Home Forums Support Border on column post for home page

  • This topic has 3 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #551116
    Ernest

    Hello,

    My home page is a two column layout for blog post. I used the following code to create a border around each post on the home page that works well:

    .inside-article {
    border: 1px solid #DDD;
    }

    However, when I click on an individual post, I don’t want the border to appear on each single post page.

    Also, I don’t want border to appear when view on mobile.

    What code can I use to remove border on individual post page and mobile view?

    #551213
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS instead:

    @media (min-width: 769px) and (max-width: 1024px) {
        .blog .inside-article,
        .archive .inside-article {
            border: 1px solid #DDD;
        }
    }

    Let me know.

    #551296
    Ernest

    Thanks. That worked.

    #551740
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.