Tagged: partner element
-
AuthorPosts
-
August 14, 2017 at 4:31 pm #838750
Hi, i want to use the Partner/Logo Element because i need 7 collums.
I want a picture and under the picture the text in max. two rows.I tried it to solve it with css, but it doesn’t work.
Can you help to write the right css?
August 14, 2017 at 5:30 pm #838811Hey comcept-bks,
Could you please give us a link to your website, we need more context to be able to help you.
Could you please attach a mockup of what you’re trying to achieve?Best regards,
VictoriaAugust 15, 2017 at 11:29 am #839197Hi,
I want that the text from the hover is fixed under the picture.August 15, 2017 at 11:32 am #839201The site should be look like the pdf of the link below!
August 15, 2017 at 11:39 am #839204Hi comcept-bks,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 15, 2017 at 11:40 am #839208!
- This reply was modified 7 years, 3 months ago by Victoria.
August 15, 2017 at 1:52 pm #839279did you have a closer look?
August 15, 2017 at 6:17 pm #839487Hi comcept-bks,
Can you give that account admin rights?
Please refrain from bumping or replying to your own thread because it gets pushed back to the end of the queue and moderators won’t be able to provide a response immediately. Please be patient while we go through the rest of the queue. Thank you for your understanding.
Best regards,
VictoriaAugust 16, 2017 at 12:08 am #839649You now have admin rights
August 16, 2017 at 1:06 pm #839855Hi comcept-bks,
Could not login, the connection kept reseting. Are you having issues with the server?
Best regards,
VictoriaAugust 16, 2017 at 2:56 pm #839904When I login, all is fine!!
August 18, 2017 at 1:42 pm #840860Hi comcept-bks,
I was able to login today.
Here is the code you can put in your funtions.phpadd_action('wp_footer', 'ava_new_custom_script'); function ava_new_custom_script(){ ?> <script type="text/javascript"> (function($) { $(window).load(function() { jQuery(".slide-entry.av_one_seventh").each(function() { var el = jQuery(this); el.append("<span class='custom-caption'>" + el.attr("data-avia-tooltip") + "</span>"); el.attr("data-avia-tooltip", ""); }); }); })(jQuery); </script> <?php }
And here is the code to put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.custom-caption { width: 100%; color: #000; font-size: 16px; text-transform: uppercase; text-align: center; display: inline-block; }
If you need further assistance please let us know.
Best regards,
VictoriaAugust 22, 2017 at 8:39 am #842364Thank you Victoria!!!
August 22, 2017 at 1:01 pm #842504Hi comcept-bks,
Glad we got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 11, 2018 at 1:48 pm #896161Hi Victoria,
I did the same and it works fine but when the caption is empty it displays “undefined”.
How custom the function to get caption below logo elements only when it’s not empty.Thank you for your help.
Best regards,
Hélène
January 15, 2018 at 4:38 am #897348Hi,
What do you want to put there if the caption is empty?
We modified the code a bit. Please try it again.
add_action('wp_footer', 'ava_new_custom_script'); function ava_new_custom_script(){ ?> <script type="text/javascript"> (function($) { $(window).load(function() { jQuery(".slide-entry.av_one_seventh").each(function() { var el = jQuery(this); var tip = el.attr("data-avia-tooltip"); if (typeof tip !== typeof undefined && tip !== false) { el.append("<span class='custom-caption'>" + tip + "</span>"); el.attr("data-avia-tooltip", ""); } }); }); })(jQuery); </script> <?php }
Best regards,
IsmaelFebruary 5, 2019 at 12:51 am #1062946Hi Ismael,
i tried this code in the functions.php and did the quick css adption. but no result.
attached you`ll find the site with the partner logo somewhere in the middle.the title is set at the first 2 person.
thanks in advance!
AndreasFebruary 6, 2019 at 10:44 am #1063541Hi,
You have to set the “Column” settings to “7 Columns” or change this line:
jQuery(".slide-entry.av_one_seventh").each(function() {
to:
jQuery(".slide-entry.av_one_sixth").each(function() {
Best regards,
IsmaelMarch 17, 2021 at 9:49 pm #1288796Does this still work? I’ve triad adding this to my functions php and I get nothing.
March 21, 2021 at 3:26 pm #1289447Hi mlongver,
Are you running a child theme or you added it to the parent theme?
Best regards,
VictoriaMarch 26, 2021 at 11:25 am #1290519Hi Victoria,
Thank you for the code – it´s working fine for me! :)
Just one question – I´ve changed it to “av_fullwidth” (just one column) and I´d like to have the logo and the text right next to each other. The div of the logo at the left maybe with 30% and the text with 70%. Have you got a tipp for me?
Thank you & best regards,
ElaMarch 26, 2021 at 2:07 pm #1290570Hallo, I have same problem – I need 6 colums for homepage items.
So I want use partner/logo tool and need there put text under picture + I need make background without color for actice links (default is white)
Can you help me with actual code for this modification?Thanx, Vlad
March 26, 2021 at 3:35 pm #1290582Hi Vlad,
This code worked fine for me – instead of the seventh, I´ve changed that to sixth for you. In the partner/logo tool you have to choose also 6 columns.
add_action('wp_footer', 'ava_new_custom_script'); function ava_new_custom_script(){ ?> <script type="text/javascript"> (function($) { $(window).load(function() { jQuery(".slide-entry.av_one_sixth").each(function() { var el = jQuery(this); el.append("<span class='custom-caption'>" + el.attr("data-avia-tooltip") + "</span>"); el.attr("data-avia-tooltip", ""); }); }); })(jQuery); </script> <?php }
If you put now something into the caption field, the text is under the logo. You can change the design of the text by editing “Enfold > General Styling > Quick Css”:
.custom-caption { width: 100%; text-align: center; display: inline-block; }
I don´t know what you´re meaning with article links, because I can only put a link to the logo.
Best regards,
ElaMarch 26, 2021 at 4:51 pm #1290599Thanx, it works!:)
Can you help with second point – non white background under linked picture?
All pictures on page are “png” without background, but linked images havewhite background. How adjust it?- This reply was modified 3 years, 8 months ago by Vlad-im-ir.
March 26, 2021 at 4:51 pm #1290600March 27, 2021 at 3:39 pm #1290747:) Perfect! Add this to your Quick css:
#top .avia-smallarrow-slider .slide-image {background: none;}
Best regards, ElaMarch 29, 2021 at 12:17 pm #1291078Excelent than you!
Is there any possibility, how to make “partner logo” or text below “active” and change parametres when “active, hover” etc..?April 1, 2021 at 8:07 am #1291704Hi,
We are not certain what you mean by that. Would you mind explaining further? If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.