This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: 

Change Only Page Padding

  • Creator
    Topic
  • #7644
    cjarsmith
    Participant

    Hi Jason,

    I’d like to add a little extra padding to full width pages.
    I’ve been trying to figure this out but it also alters the padding on all posts too.
    Is it possible to do this without effecting posts?

    Thanks
    Craig

    EDIT: Ok I figure it out using: .page{padding:50px;}
    Anyway to have this only take effect on full width pages?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #7647
    cjarsmith
    Participant

    Figured it out and feel little silly at how easy it was, one step at a time.

    .full_width .page{padding:50px;}

    #7648
    Jason Bobich
    Keymaster

    Hello Craig,

    Yup, there is a class added that represents the sidebar layout; it’s higher up on the markup tree on the #main div.

    .full_width .page { padding: ...; }
    .full_width .single-post { padding: ...; }

    Also, there a lot of helpful classes that WordPress attaches to the <body> tag that you can use to style anything on your site in different scenarios.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.