Read more for the home page

More
11 months 4 days ago #11972 by Aido
Aido created the topic: Read more for the home page
Hi
Is there any way to make the following:
There is a Read More button at the home page in OUR EXPERIENCE module.
The first part of some text is located before this button and
I would like that after pressing this button the whole text appears on the same page.
I found something like I want in 3d side modules but I worry I can destroy the template.
So maybe there is a simple way to organize it?

Please Log in or Create an account to join the conversation.

More
11 months 3 days ago #11973 by artur
artur replied the topic: Read more for the home page
Hello,
I'm afraid this will not be possible without little modification.

Here is an example of how you can do it with simple jQuery code:
www.w3schools.com/jquery/eff_slidetoggle.asp

But feel free to try 3rd party modules (the design may not suit you in this way).
Our customization department also can help with this issue.
Please contact with support team if you will be interested.

joomla-monster.com/contact/

Have a nice day.

Please Log in or Create an account to join the conversation.

More
11 months 3 days ago - 11 months 3 days ago #11974 by Aido
Aido replied the topic: Read more for the home page
Thank you, Artur.
I have done it :-)
let readMeLink=jQuery('a#readme1.readmore.readmore-wide');
let hiddenText= jQuery('.hiddentext');
readMeLink.click(function(event){
        event.preventDefault();
        hiddenText.slideToggle();
        if (readMeLink.html() == 'Read more'){
            readMeLink.html('Read less');
        } else{
            readMeLink.html('Read more');
        }
});
But there is one more question
Now the text slides down in the same column. So I have a column of the text on the left side and an images carousel on the right.
Is it possible to wrap text around the carousel below?
Last Edit: 11 months 3 days ago by Aido.

Please Log in or Create an account to join the conversation.

More
11 months 3 days ago #11977 by artur
artur replied the topic: Read more for the home page
Hello,
I'm not sure what do you mean exactly but:
You can load the module inside another module, so in this way, you can wrap carousel inside div which will be visible on click.

Just use load position plugin in your Custom HTML module:
docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F

Have a nice day.

Please Log in or Create an account to join the conversation.

More
11 months 3 days ago #11978 by Aido
Aido replied the topic: Read more for the home page
Thank you. I will try.
But here also attached the example what I would like to achieve

Attachments:

Please Log in or Create an account to join the conversation.

More
11 months 1 day ago #11987 by Aido
Aido replied the topic: Read more for the home page
Thank you. Everything works.

Please Log in or Create an account to join the conversation.

Time to create page: 0.326 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.