Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to connect css style
#1
Hi! Tell me  how to connect css style in plugin?
Reply
#2
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.
Reply
#3
What do you mean doesn't work? Is not displayed or does your style sheet not work?
Reply
#4
(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
Reply
#5
So the path is wrong.
Reply
#6
(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
Reply
#7
File exists(in hosting dir):
http://tregubovsergeycomposer.ru/plugins...rinter.css
Reply
#8
Code:
Oops! Page not found!

We are sorry, but the page you are looking for does not exist.
Reply
#9
screenshot


Attached Files Thumbnail(s)
   
Reply
#10
The problem was in the absence of a file .htaccess :
"Allow from all"
Thanks!
Reply




Users browsing this thread: 1 Guest(s)