• [ Moved to the Fixing WordPress sub-forum. ]

    Hi

    I am having problems finding where I can customise the design for the ‘page for posts’ that I have set in the reading section of my settings. I have tried creating a template but when I go to edit the page so I can select that template I don’t have the option (even though the template is registered in the system – I can see it in other pages). How do I edit the design on this page? (without editing the design across the site!)

    Thanks for any help!

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    If your template has the proper template name comment as described in the Theme Handbook, and your template file is in your active theme’s primary folder, it should be selectable when creating a new page. It doesn’t need to be registered, WP will simply find it.

    With this sort of custom template, naturally you can add unique divs and CSS selectors that would not apply anywhere else.

    Even with the default template, you can add CSS that only applies to this page by determining the post ID. The article tag of every page includes a “post-{$ID}” class and ID attribute which you can include in CSS selectors so the CSS will only apply to this one page.

Viewing 1 replies (of 1 total)
  • The topic ‘Customise design on page for posts – Twenty15 Child Theme’ is closed to new replies.