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

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

$
0
0
Thank you, very much for your answer, I very much appreciate it.
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.
I did copy over the html/mod_custom/banner.php file to the correct location in my own site.
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">
I did see the class container-banner banner-overlay, and the <div id="mod_custom118" class="mod-custom custom banner-overlay"> in the dev tools, thank you for confirming that it is these that shape the behaviour of this module.
I have also copied the same HTML and inline classes from the image module to my similar module (the classes and ID you describe are not in that code)
There is one thing I still do not understand and I need to know in order to duplicate the behaviour in my own site. Namely, what box or location in the back-end do I tick or write a class, ID or code in, in order to invoke the desired behaviour. I could not find any place in the sample site that contained anything different to my own site's back-end. I could only see the difference with the web tools. I am missing something fundamental. Thank you for your help.

Statistics: Posted by Nickinamillion — Mon May 06, 2024 10:18 am



Viewing all articles
Browse latest Browse all 1386

Trending Articles



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