Support » Themes and Templates » How to add a CSS into the themes CSS style sheet editor

  • alainsojourner75


    I’m using Delicious Magazine. My question is: how can I add a css into the theme’s css style sheet.

    I want to add this link from infolinks:

    <script type=”text/javascript”>
    var infolinks_pid = 43100;
    var infolinks_wsid = 0;
    <script type=”text/javascript” src=””></script>

    Go to your website’s source code, and right before the closing tag at the bottom, paste the code provided in the white box.

    i posted the script above to the css style sheet editor with /* and */ , but it didn’t work. i tried to read css lessons but i just couldn’t get it.

    can anyone teach me? thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • ronangelo


    That’s not CSS. That specific infolinks code is usually added just before the closing </body> tag. This is usually located on footer.php.

    There’s also an infolink plugin that would do this for you.



    Hi ronangelo,
    Thanks for that.
    There’s no plugin button in the theme.
    But there’s a box that’s called: CSS Stylesheet Editor
    and it has the following text:

    /* Welcome to Custom CSS!

    If you are familiar with CSS or you have a stylesheet ready to paste, you may delete these comments and get started.

    CSS (Cascading Style Sheets) is a kind of code that tells the browser how to render a web page. Here’s an example:

    img { border: 1px solid red; }

    That line basically means “give images a red border one pixel thick.”

    CSS is not very hard to learn. If you already know a little HTML it will be fun to move things around on the web page by changing your stylesheet. There are many free references to help you get started.

    We hope you enjoy developing your custom CSS. Here are a few things to keep in mind:

    You can not edit the stylesheets of your theme. Your stylesheet will be loaded after the theme stylesheets, which means that your rules can take precedence and override the theme CSS rules.

    CSS comments will be stripped from your stylesheet. */

    /* This is a comment. Comments begin with /* and end with */

    Things we strip out include:
    * HTML code
    * @import rules
    * expressions
    * invalid and unsafe code
    * URLs not using the http: protocol

    Things we encourage include:
    * @media blocks!
    * sharing your CSS!
    * testing in several browsers!
    * helping others in the forum!


    Then below the box, I ca click the button that says: Add this to the Delicious Magazine theme’s CSS stylesheet

    I tried to include the infolinks above inside this CSS Style sheet editor but just like you said, it’s not CSS. Any option I can do this?

    Thanks a lot. And happy new year!



    Where is your site hosted? Sounds like maybe on WordPress.COM??



    it’s hosted by
    as i understood it, it’s a wordpress-powered blog.
    i also have another blog here in wordpress but that works fine.



    It looks like may not give you full control over your site (like fully self-hosted WP sites) — it’s set up more like WordPress.COM? In any case, have you asked on their site:



    yes, it’s set-up like wordpress. i paid for the unblock the ad column and custom design, thus, I can insert the css codes if i want to. i tried to find where the footer.php is but i can’t.

    I emailed the support many times and have been waiting for 2 weeks now but NO response. Their knowledgebase search is useless. I can’t find anything related to it. They boast of 2 million bloggers but i can’t find any forums like this here in wordpress.

    thanks for the response.

    would be glad if you could help. 🙂



    I’m not familiar with, but it sounds like you cannot modify theme files (i.e. footer.php). Custom design is probably only CSS — but you can’t ever put javascript in CSS files (as ronangelo said above). Sounds frustrating, but I don’t think you’ll find anyone here who can help you with questions. At this point, perhaps you should consider a self-hosted WordPress site — in which case, you’ll have full control over the site and get support here (so long as you are using a theme from the theme repository here: )

    You would most likely be able to transfer your existing site to a new self-hosted site if you opt to do that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to add a CSS into the themes CSS style sheet editor’ is closed to new replies.