1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add custom css to wordpress..?

Discussion in 'Black Hat SEO' started by rhnkmr, Mar 26, 2013.

  1. rhnkmr

    rhnkmr Regular Member

    Joined:
    Oct 16, 2012
    Messages:
    348
    Likes Received:
    38
    Occupation:
    SEO
    Location:
    Delhi
    Home Page:
    I want to add custom css to my wp websites how to do it....?
     
  2. gsy159

    gsy159 Power Member

    Joined:
    Apr 29, 2011
    Messages:
    658
    Likes Received:
    158
    change the css file of your actual theme?
     
  3. benji87

    benji87 Newbie

    Joined:
    Mar 9, 2013
    Messages:
    19
    Likes Received:
    4
    You can edit your themes CSS in /wp-content/themes/yourthemename/style.css
     
    • Thanks Thanks x 1
  4. rhnkmr

    rhnkmr Regular Member

    Joined:
    Oct 16, 2012
    Messages:
    348
    Likes Received:
    38
    Occupation:
    SEO
    Location:
    Delhi
    Home Page:
    thanks for the info..
     
  5. dme17

    dme17 Newbie

    Joined:
    Sep 2, 2011
    Messages:
    20
    Likes Received:
    12
    The best way is using a child theme. It's actually very simple to do and the only required file is your stylesheet. Just search "create a child theme wordpress" or something like that and check the Wordpress site for instructions.

    The reason it's best to do things this way is that if you just edit your themes style.css file it will be overwritten when you update. A child theme will not be overwritten so all your hard work will be safe.