• Welcome to PHPVIBE Forums. Please log in.

how to reference css in head tag?

Started by kankrumah,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kankrumahTopic starter

Hello Marius P,

I have created a costumed dark and light css stylesheet files.
How do I reference these css files or which files head tag should place them into?  I am going to use JavaScript toggle between these costumed css files.

Thank you
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

kankrumahTopic starter

  •  

kankrumahTopic starter

I have use register_style('your style url') inside the tpl.header.php.

I would like to also reference my costumed css ID in javascript, and I was wondering where to put the css stylesheet tag(<link rel="stylesheet" href="light-mode.css" id="light-mode-stylesheet">)?

Thank you
  •  

 

Similar topics (7)

[ Video Sharing CMS v4 ] How to Convert Title as Tags?

Started by megaman79


Replies: 6
Views: 2508

[ Video Sharing CMS v4 ] how can I move the fb count from sidebar to header

Started by ricardob24


Replies: 5
Views: 1211

[ Video Sharing CMS v4 ] limit tags

Started by wetvibes


Replies: 1
Views: 1416

[ Video Sharing CMS v4 ] Webmasters tools of Google reported 1 error in path: /sitemap.php?type=tags

Started by lucaphuoc


Replies: 4
Views: 3121

[ Video Sharing CMS v4 ] Meta tags

Started by alimehdipak


Replies: 28
Views: 4959

[ Video Sharing CMS v4 ] Warning: Cannot modify header information

Started by elitepromo


Replies: 1
Views: 1188

[ Video Sharing CMS v4 ] tags are Bulgarian (Cyrillic)

Started by shenca


Replies: 8
Views: 1535