[英]Add CSS to existing website
I want to make a more mobile friendly version of this website: auspuff-schuelerzeitung.de我想制作一个更适合移动设备的网站版本: auspuff-schuelerzeitung.de
So I wrote this little CSS:所以我写了这个小 CSS:
#slider-banner{
display: none;
}
#secondary-right{
display: none;
}
h1.site-info {
display: none;
}
But how can I implement it into this website?但是我怎样才能把它应用到这个网站上呢?
I have no access to the server我无权访问服务器
And I'm pretty new to all this stuff我对所有这些东西都很陌生
As per your clarification.. this is how you can do it..根据你的澄清..这就是你如何做到的..
<html>
<?php
$homepage = file_get_contents('https://auspuff-schuelerzeitung.de/');
echo $homepage; //you can strip the closing <html> if it bothers..
?>
<link rel='stylesheet' href='my_changes.css' type='text/css'/>
</html>
html
, js
, css
...)html
、 js
、 css
...)<head>
and insert another <link>
to the custom css file<head>
并将另一个<link>
插入自定义 css 文件
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.