Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2165

Templates for Joomla! 5.x • Background-image does not appear

$
0
0
Adding a background-image within a custom module only seems to work if I use the options section when setting up the module. The image did not display if I only put it in the user.css using the custom module class.

I want to try using a background image under all the top modules.

Checking the forum I found a suggestion, from last year, to define the body class.
.body {background-color:#000;
background-image: url("/images/guitar_neck_blue2.png");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: left top;
}

However, as with the custom modules, the image does not appear at all, and isn't listed in the code with Chrome view source or inspect elements.


website: https://environment.johnboukis.com/blog/

Statistics: Posted by nagaho2 — Tue Feb 27, 2024 5:59 pm



Viewing all articles
Browse latest Browse all 2165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>