GetSimple Support Forum
How to connect css style - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: How to connect css style (/showthread.php?tid=10468)



How to connect css style - sergey-tregubov-48 - 2018-05-05

Hi! Tell me  how to connect css style in plugin?


RE: How to connect css style - sergey-tregubov-48 - 2018-05-05

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.


RE: How to connect css style - Bigin - 2018-05-05

What do you mean doesn't work? Is not displayed or does your style sheet not work?


RE: How to connect css style - sergey-tregubov-48 - 2018-05-05

(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.php?id=kompozicii


RE: How to connect css style - Bigin - 2018-05-05

So the path is wrong.


RE: How to connect css style - Alexander_ - 2018-05-05

(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


RE: How to connect css style - sergey-tregubov-48 - 2018-05-05

File exists(in hosting dir):
http://tregubovsergeycomposer.ru/plugins/musics-list-printer/css/musics-list-printer.css


RE: How to connect css style - Carlos - 2018-05-05

Code:
Oops! Page not found!

We are sorry, but the page you are looking for does not exist.



RE: How to connect css style - sergey-tregubov-48 - 2018-05-05

screenshot


RE: How to connect css style - sergey-tregubov-48 - 2018-05-05

The problem was in the absence of a file .htaccess :
"Allow from all"
Thanks!