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

General Questions/New to Joomla! 5.x • Re: Cassiopeia Title

$
0
0
Can't this be accomplished by creating a custom module...
...I assigned that module assignment to just the page I want it to play on...
Hi.

Of course this can be achieved using Custom module with assignment. But we do not consider here such an obvious but not productive thing as using a module.

Imagine if you have 1000 articles on your site - it will be difficult administration and 1000 modules.

If you use the module, then this can be done so:

Place only one module for all articles containing for example such a code

Code:

<div class="my-article-heading"></div>
Then, through JS, transfer the default article heading inside <div class="my-article-heading"></div>

But this is only of academic interest, since for transferring an element via JS to another place that is quite enough existing template's HTML code and the use of the module is excessive.

But I repeat - the transfer of the heading outside the article is not very good for SEO.
Keep the heading inside the article and place it all over the width through CSS is not a problem.

Statistics: Posted by Pavel-ww — Thu Jun 06, 2024 7:30 am



Viewing all articles
Browse latest Browse all 2162

Trending Articles



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