Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20134

    I was wondering how I would go about setting different paddings at the bottom of individual pages in the Corona theme. As I am using a number of different third-party plugins/shortcodes for calendars and sliders I want to have the flexibility to adjust or override the padding at the bottom of any given page so I can tweak the white space above the footer depending on the aesthetics of the particular page. I understand that I can set the padding for all pages via

    .post-entry {

    padding-bottom: 100px;

    }

    but I would like to be able to set this on a page by page basis. Is there a shortcode or line of html I can put into the individual page’s content to achieve this? Sorry if this question seems naive but am quite new to CSS and HTML. Thanks!

    #106415

    Hi,

    Inspect the page then look for the body class. You will see a unique id that look like this page-id-527. You can use that to target a specific page.

    .page-id-527 .post-entry {
    padding-bottom: 100px;
    }

    Regards,

    Ismael

    #106416

    Thanks!

    #106417

    Hey,

    Glad it worked.

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Changing padding at bottom of individual pages’ is closed to new replies.