[Resolved] css styles for .inside-article only for posts

Home Forums Support css styles for .inside-article only for posts

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

    Hi,

    I used these css styles to style the .inside-article class for my posts.

    .full-width-content.separate-containers .inside-article, .full-width-content.one-container .site-content {
    padding: 60px;
    margin-top: -50px;
    }

    I created a specific layout-element in GP Elements for my posts layout (using full-width layout, without padding).

    Unfortunately also the frontpage is affected (padding and margin). How can I apply the styles only to posts?

    thanks

    #1265580
    Leo
    Staff
    Customer Support

    Hi there,

    Try this:

    .full-width-content.separate-containers.single .inside-article, .full-width-content.one-container .site-content {
        padding: 60px;
        margin-top: -50px;
    }

    Let me know if this helps 🙂

    #1267724
    Mathias

    thanks, that worked

    #1267749
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.