The simplest would be to add it to a CSS style.
WP output body classes, which allow to precisely target any specific page with CSS by ID, for example:
<body class="page page-id-7 page-template-default logged-in admin-bar no-customize-support group-blog no-sidebar">
While it’s not default I also like to hook into it and add page-[name]
class for myself.
If your theme is custom you can just work styling into it. If you are using off the shelf theme you should probably create a child theme for it and implement custom styles there.
Related Posts:
- How to change background color in the Notepad++ text editor?
- What are all the available parameters for query_posts?
- Does WordPress work without a theme?
- Link to specific Customizer section
- Is it OK to remove theme credits from footer? [duplicate]
- When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
- Difference between stylesheet_directory and template_directory
- Adding a Template to the Page Attributes Panel for both Posts and Pages?
- How do you change the theme location?
- Why are my widgets not saving when being added to a sidebar?
- Building useful features into your theme
- How to remove “Proudly powered by WordPress” in Twenty Sixteen (2016) theme?
- How do I put my comment form above the comments?
- How can I check for malware in a Theme? [closed]
- Edit theme wp_head
- Theme Advanced Styles in Visual Editor and Paragraphs
- Want to have the Post editor remembering the last editing position
- Enqueue different stylesheets using IE conditionals
- Switch Theme Through Options Panel
- Override parent theme translation on child theme
- Forbidden 403 error, permission to access, unable to read htaccess
- Theme of codinghorror.com
- WordPress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]
- How to add template to theme in WP
- How do I copy my Parent Templates to my Child Templates?
- How can I show more than 15 themes at a time in the admin menu?
- What is the WordPress Pinecone sitting on top of? [closed]
- Download WordPress.com theme: how?
- Create a dashboard-style site (not WordPress dashboard) – is there a theme? [closed]
- Help with WordPress Query
- How do I set the featured image size on the single post?
- Are theme .php files stored in the database?
- Execute filter in theme as last
- Why style.css with ?ver=3.9.2 not updating as the one without ?ver=3.9.2?
- An unexpected error occurred. Something may be wrong with WordPress.org
- Inconsistent translation on a WP site
- How can I have different theme with same booking table? [closed]
- Updating my free theme delete all my changes [closed]
- Web site Header tag links some resources with HTTPS
- Do not show one specific widget on one specific page
- Website redesign – New theme – Help needed
- ‘Add New’ button not present [closed]
- How can we hide the parent’s theme url at the child themes details on a multisite?
- Change the name of the root name of an already built WordPress theme
- Tips for managing code when developing a parent theme framework
- problem with my my theme “search.php”
- Cannot apply custom css to IE in the theme
- How can I show full text, not summary for the homepage and in categories?
- Wp theme not working well as forgot to create child theme [closed]
- Theming global variables – initializing in index.php but using in header.pho
- can’t see aditional themes in control panel
- When someone likes an article on my blog, they are prompted to log in on WordPress.com [closed]
- WordPress TwentyTen Theme Incompatible with Theme Unit Test
- WordPress theme logo handling (Trying to use GIF as logo)
- How can I remove all traces of a theme?
- Changing an image in header.php
- Installing a theme on localhost, Ubuntu 16.04
- Unable to find translations in WordPress theme
- A thin line between native wordpress bahaviour and 3rd party themes
- Using filter in the widget causes fatal error
- Display Pointer only once?
- Will I lose the pages I’ve created within a default WordPress theme when adding a new theme?
- Theme title in admin shows full path [closed]
- Is there a way to see how a theme will look before buying it?
- Menu items do not “open” when mouse hover over them?
- From where wp ecommerce is loading plugin theme files?
- Making first post wider than other posts on home page(default)
- Twenty Ten Theme: Replace the Logo by a picture without moving the code
- In a specific blog, the K2 theme does not have a Text Widget
- How to push a theme update for a ciustom theme used on multiple independant self hosted sites?
- Removing a widget via theme editor
- theme customizations gone after enabling ssl
- Can’t embed certain youtube videos into theme
- How to customize a section of a widget only on certain pages or page
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- Simple filter to change label name of Email Adress to something else
- Basic wordpress search shows no results
- How do I remove search bar that isn’t a widget?
- Show only the beginning of post
- Changing theme folder name disrupts widgets
- WordPress Customazation API section in section
- TwentyFourteen Theme : Changing grid layout
- Edit a template while still keeping a Landing Page on the main address
- How can I Update my Theme
- Use random theme
- Costum Theme template directoy url problem
- Replacing current theme folder by previous version of the same folder produces “undefined function get_header()” error
- Theme comment callback results nothing
- Does not work bookmarklet in the theme Tagology
- How do I block a subdirectory from WordPress theming?
- Resetting Themes Folder to Default
- What is the general cut-off date for reviewed themes in the WordPress.org repository?
- Sub-Theme (based on Taxonomies)
- How to Hide Blog Post Author?
- Commenting in CSS (//) equals “none”? [closed]
- Adding a wp_head hook from an included PHP file
- Deleting Widgets in sidebar in Panthea theme
- Help with Divi logo not appearing for 10s
- How to clone a theme template from within WordPress? [closed]
- get_post_meta() doesn’t allow email