Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
    Posts
  • #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?

    #838811

    Hey 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,
    Victoria

    #839197

    Hi,
    I want that the text from the hover is fixed under the picture.

    #839201

    The site should be look like the pdf of the link below!

    #839204

    Hi 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,
    Victoria

    #839208

    !

    • This reply was modified 6 years, 8 months ago by Victoria.
    #839279

    did you have a closer look?

    #839487

    Hi 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,
    Victoria

    #839649

    You now have admin rights

    #839855

    Hi comcept-bks,

    Could not login, the connection kept reseting. Are you having issues with the server?

    Best regards,
    Victoria

    #839904

    When I login, all is fine!!

    #840860

    Hi comcept-bks,

    I was able to login today.
    Here is the code you can put in your funtions.php

    
    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);
    			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,
    Victoria

    #842364

    Thank you Victoria!!!

    #842504

    Hi comcept-bks,

    Glad we got it working for you! :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #896161

    Hi 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

    #897348

    Hi,

    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,
    Ismael

    #1062946

    Hi 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!
    Andreas

    #1063541

    Hi,

    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,
    Ismael

    #1288796

    Does this still work? I’ve triad adding this to my functions php and I get nothing.

    #1289447

    Hi mlongver,

    Are you running a child theme or you added it to the parent theme?

    Best regards,
    Victoria

    #1290519

    Hi 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,
    Ela

    #1290570

    Hallo, 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

    #1290582

    Hi 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,
    Ela

    #1290599

    Thanx, 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 ago by Vlad-im-ir.
    #1290600
    #1290747

    :) Perfect! Add this to your Quick css:
    #top .avia-smallarrow-slider .slide-image {background: none;}
    Best regards, Ela

    #1291078

    Excelent than you!
    Is there any possibility, how to make “partner logo” or text below “active” and change parametres when “active, hover” etc..?

    #1291704

    Hi,

    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

Viewing 28 posts - 1 through 28 (of 28 total)
  • You must be logged in to reply to this topic.