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

Administration Joomla! 5.x • Re: I am puzzeled by the blog sample data

$
0
0
It wasn't clear to me if you had already copied the banner.php override file to your site (that has no sample data).
This file has specific classes for the color of the text and the size of the image to work.

If you hadn't done so:
- Copy banner.php to your template (html/mod_custom).
- In your banner-module, under tab Advanced, set Layout to banner.

The text color and image size are styled by the class container-banner banner-overlay.
The image is loaded by the id mod_custom118 (the number is based on the module ID. In your own (data-less) site this number may be different).
You can check it in your browser's devtools. Select the part that says <div id="mod_custom118" class="mod-custom custom banner-overlay">

You can change the styles by adding .container-banner .banner-overlay and #mod_custom118 (or your module ID) to the user.css file.

Statistics: Posted by Mr. Wimpy — Wed May 01, 2024 3:17 pm



Viewing all articles
Browse latest Browse all 1974

Trending Articles



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