WordPress.org

Ready to get started?Download WordPress

Forums

Can I add a stylesheet (4 posts)

  1. Cyberstudios
    Member
    Posted 6 years ago #

    I'm used to using external css stylesheets in my web design business. Can I add a manually upload a stylesheet and link it to my blog pages to style specific elements?
    Thanks!
    Paul

  2. syncbox
    Member
    Posted 6 years ago #

    Certainly you can add your own style sheet. I typically just add my rules to the style.css file already linked in header.php, but if you want to add another style sheet, use this method in your header.php file:

    <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/nameofstylesheet.css" type="text/css" media="screen" />

    and put your style sheet into the theme's directory.

    HTH

  3. Cyberstudios
    Member
    Posted 6 years ago #

    That seems straightfoward enough, many thanks for your help.

  4. syncbox
    Member
    Posted 6 years ago #

    no problem. glad to help out. I've certainly received my share of help here!

Topic Closed

This topic has been closed to new replies.

About this Topic