WP简单主题,改变图像行为

在主题” WP simple”的主页上, 有一张图像被设置为覆盖可见区域的整个宽度。

我想更改行为并将最大宽度限制为一定数量的像素。

我能够找到处理图像的html, 但是我无法弄清楚是什么处理了调整大小的问题, 如果它是通过javascript / jquery或css完成的, 并且浏览器的检查工具无法帮助你找到问题, 。

有人可以帮助我指出我需要进行更改的位置吗?

<section class="frontpage-banner parallax_active" data-parallax="scroll" data-image-src="http://mysite.loc/wp-content/uploads/2018/05/my-image.jpg" style="background: rgba(0, 0, 0, 0.3); padding-top: 288.667px; padding-bottom: 288.667px;">
<div class="container">
  <div class="banner-wrap" style="visibility: visible; "></div>      
</div>    
</section>

#1


对于wp主题, 宽度通常是由javascript代码或css @media规则生成的, 但是你可以通过使用!important标签在style属性中添加值来覆盖它:

style="max-width:100px !important;background: rgba(0, 0, 0, 0.3)..."

来源:

https://www.srcmini02.com/66444.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_40484.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?