Home › Forums › CSS › Changing a specific page in width › Reply To: Changing a specific page in width
January 23, 2017 at 4:12 am
#250323
Atelierbram
Participant
In your page.php
you could maybe use a conditional statement to exclude this page from using the container-small
class. Something like:
<div class="container <?php if !( is_page( "bio" ) ) echo 'container-small'; ?>">
Maybe even make a different template for this “Bio”-page, like page-bio.php
.
Alternatively in CSS you can use one of the classes which are set on the body-tag with the specific page-ID, here: .page-id-321
, to target the styles you want to change within your stylesheet.