CSS background images in WordPress

前端 未结 14 1836
长情又很酷
长情又很酷 2020-12-09 03:44

Is it possible to get a background image in CSS like you normally do in HTML when working with WordPress. I\'ve tried doing this but it doesn\'t work.

backgr         


        
相关标签:
14条回答
  • 2020-12-09 04:31

    Just find the corresponding element (tag, class or ID) with the browser tools/inspector in your page and add a CSS rule for that element, either in the stylesheet of the child theme or in the "customCSS" field of the theme options.

    0 讨论(0)
  • 2020-12-09 04:36

    you can't add php code into .css files. but if you wanna do this using php see this.

    0 讨论(0)
提交回复
热议问题