Shape 5

Joomla Club Extensions => Accordion Menu - Club => : chumak83 July 12, 2017, 05:28:34 AM



: Accordion Menu and images
: chumak83 July 12, 2017, 05:28:34 AM
Good afternoon. Is it possible to insert images into Accordion Menu items?


: Re: Accordion Menu and images
: jonahh July 12, 2017, 10:34:54 AM
Hello,

Yes you an insert images via the "link type" under each menu item. They should just be be little icons though as its not designed for full background images.


: Re: Accordion Menu and images
: chumak83 July 13, 2017, 08:54:03 AM
Hello/ Thanks for the answer. I have pictures for each menu item in the menu settings - link options. But the accordion menu does not display these pictures. Maybe you need to set something up in the settings of the module of the accordion menu?


: Re: Accordion Menu and images
: jonahh July 13, 2017, 02:58:38 PM
No you don't need to but the template might be hiding them. Can you post a URL of your site so I can check the CSS?

Thanks


: Re: Accordion Menu and images
: chumak83 July 13, 2017, 04:04:13 PM
Certainly can. Http: //www.засучив-рукава.рф/jupgrade/ (only he is in Cyrillic, I hope that you can see the address). And the template I use is yours, from S5 Construction. The bank requires the logos of Visa and MasterCard, I want to put them into the menu item.
Thanks.


: Re: Accordion Menu and images
: jonahh July 14, 2017, 10:25:46 AM
Ok it is the template, just look for the below and change none to block. You will have to adjust other CSS in order for them to not overlap the menu items. I recommend using developer tools in your browser to check what code to edit.

:
.s5_accordion_menu_left img {
    display: none;
}

template.css line 371


: Re: Accordion Menu and images
: chumak83 July 14, 2017, 11:25:58 AM
I did not find such a line there. You can write down step by step what to do, but I do not understand anything in CSS yet.
Many thanks.


: Re: Accordion Menu and images
: jonahh July 17, 2017, 12:11:53 PM
You could just do a search in the template.css file for "s5_accordion_menu_left img". If you still can't find it just PM me login details to your site with a URL and I can get it working for you.


: Re: Accordion Menu and images
: chumak83 July 18, 2017, 04:50:31 PM
And more such question: whether it is possible to make the accordion of the menu horizontal?


: Re: Accordion Menu and images
: jonahh July 19, 2017, 01:27:45 PM
No this is not possible. We do have a module that is horizontal perhaps this may interest you:

https://www.shape5.com/product_details/club_extensions/s5_horizontal_accordion.html