GetSimple Support Forum

Full Version: How to connect css style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi! Tell me  how to connect css style in plugin?
I use
"register_style('musics-list-printer', $SITEURL.'plugins/musics-list-printer/css/musics-list-printer.css', GSVERSION, 'all');
queue_style('musics-list-printer',GSBOTH);
"
the page code looks like this:
<link href="http://tregubovsergeycomposer.ru/plugins/musics-list-printer/css/musics-list-printer.css?v=3.3.13" rel="stylesheet" media="all">
Style not working in page.
What do you mean doesn't work? Is not displayed or does your style sheet not work?
(2018-05-05, 01:59:57)Bigin Wrote: [ -> ]What do you mean doesn't work? Is not displayed or does your style sheet not work?

style sheet not work (for audio and container)
http://tregubovsergeycomposer.ru/index.p...kompozicii
So the path is wrong.
(2018-05-05, 01:52:38)sergey-tregubov-48 Wrote: [ -> ]I use
"register_style('musics-list-printer', $SITEURL.'plugins/musics-list-printer/css/musics-list-printer.css', GSVERSION, 'all');
queue_style('musics-list-printer',GSBOTH);
"
the page code looks like this:
<link href="http://tregubovsergeycomposer.ru/plugins/musics-list-printer/css/musics-list-printer.css?v=3.3.13" rel="stylesheet" media="all">
Style not working in page.

If you do so, you have to place your stylesheet "musics-list-printer.css" in the directory "http://tregubovsergeycomposer.ru/plugins/musics-list-printer/css/" - but there is no such stylesheet.

Alex
Code:
Oops! Page not found!

We are sorry, but the page you are looking for does not exist.
screenshot
The problem was in the absence of a file .htaccess :
"Allow from all"
Thanks!