The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to give margin to a simple page not all pages (2 posts)

  1. Prince Abiola Ogundipe
    Posted 4 years ago #

    Hi, i have some knowledge about wordpress but dont seems to get it right this time, i am trying to give margin to the content of a particular page but not working.

    i have tried .page-id-8 #content{margin-left:30px;} but not working.

    see the page here : http://www.cityflavourmagazine.com/?page_id=8

    help help will be appreciated.


  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try first adding the body_class() function to your theme's <body> tag.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.