- Posts: 9
- Thank you received: 0
What's the correct way to add a stylesheet?
10 years 9 months ago #45757
by alan
What's the correct way to add a stylesheet? was created 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
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.
-
nikola.mihajlovic
Support Staff - Offline
- Moderator
-
Less
More
- Posts: 91
- Thank you received: 10
10 years 9 months ago #45760
by nikola.mihajlovic
Replied by nikola.mihajlovic on topic What's the correct way to add a stylesheet?
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
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.247 seconds