What's the correct way to add a stylesheet?

  • alan
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 4 months ago #45757 by alan
Hi,

I would like to add a style sheet to use in conjunction with Sparky Pro, and would like to know the "proper way" of adding in any extra style sheets. I have uploaded the css file to my template/css folder (public_html/templates/sparky_framework/css/)

Many thanks

Alan

Please Log in to join the conversation.

More
9 years 4 months ago #45760 by nikola.mihajlovic
Hello,

go to your template_folder and open index.php and find line similar to this:

<link rel="stylesheet" href="<?php echo $template_path ?>/css/template_css.css" type="text/css" /> or
<link href="<?php echo $template_path ?>/css/template_css.css" rel="stylesheet" type="text/css" />

and before that line you can put code for your own stylesheet.

Best regards,
Nikola Mihajlovic
The following user(s) said Thank You: alan

Please Log in to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum