Viewing 30 results - 8,041 through 8,070 (of 142,946 total)
  • Author
    Search Results
  • #1418848

    In reply to: Productpage

    Oh, actually the image-aspect ratio is best on mobile phone now. Also still sqeezed on the desktop. It would be great if it would be the same everywhere…

    #1418846

    In reply to: Productpage

    Thanks Ismael,

    Looks good on desktop and mobile phone. Thanks a lot!

    On my tablet there is still no image on Privé-(Foto)bespreking (4th item) and the images are still distorted (to sqare size this time). Would be very grateful if you could also fix that.

    #1418845

    Hi,

    Thank you for the update.

    You can add this css code to align the social icons and the subnavi beside each other.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive #top #header_meta .container {
        display: flex;
        align-items: center;
        justify-content: center;
      }
    
      .responsive #top #header .social_bookmarks {
        display: block !important;
        float: none;
        width: auto;
      }
    
      .responsive #header .sub_menu,
      .responsive #header_meta .sub_menu>ul {
        float: none;
        margin: 0;
        width: auto;
        position: relative;
        margin-top: -10px;
      }
    }
    

    Best regards,
    Ismael

    #1418842

    In reply to: Productpage

    Hi,

    Thank you for the update.

    We edited the css code and added a few css media queries to adjust the height of the images on tablet view or smaller screens and prevent distortion.

    This is the modified css code.

    
    @media only screen and (min-width: 990px) {
      #top.archive .thumbnail_container img {
        height: 324px;
      }
    }
    
    @media only screen and (min-width: 768px) and (max-width: 989px) {
      #top.archive .thumbnail_container img {
        height: 224px;
      }
    }
    
    @media only screen and (max-width:767px) {
      .responsive #top #main .sidebar {
        display: block !important;
        width: 100% !important;
        border: 0 !important;
      }
    
      .responsive #top #main .sidebar .inner_sidebar {
        margin-left: 0 !important;
      }
    
      #top.archive .thumbnail_container img {
        height: 178px;
      }
    }
    

    Please make sure to purge the cache before checking the page.

    Best regards,
    Ismael

    #1418841
    #1418840

    Hey sarawh,

    Thank you for the inquiry.

    You can use the avf_modify_thumb_size filter to adjust the dimension of the existing thumbnails instead of directly editing the functions.php file. Usage examples can be found in the following threads.

    // https://kriesi.at/support/topic/alter-featured-image-on-blog-does-not-work/#post-1342432
    // https://kriesi.at/support/topic/title-and-image/#post-1304670
    // https://kriesi.at/support/topic/source-for-masonry-image-size/

    Best regards,
    Ismael

    #1418829

    In reply to: Productpage

    Thank you so so much, Mike!!! So glad this “not found” box is away! It looks the way I want it to look now!

    At least on my desktop. On my tablet there is no image on Privé-(Foto)bespreking (4th item).

    And the product-images on tablet and mobile look so out of proportion. From a landscape image it makes a portrait image. Is there any thing I can do to make it display the landscape image that I made?

    I hope you can help me out on that too. So glad you are helping me!

    #1418817

    Hi jasonlthornton,

    Please try to use this CSS code (I just added few things on top of Rikard’s code):

    @media only screen and (max-width: 767px) {
      .html_header_transparency #top .avia-builder-el-0 .container, 
      .html_header_transparency #top .avia-builder-el-0 .slideshow_caption {
        padding-top: 10px;
      }
    
      #top .avia-fullwidth-slider .avia-slideshow-inner {
        min-height: 240px;
      }
    
      #top .avia-fullwidth-slider .avia-slideshow-inner img {
        min-height: 240px;
        height: 240px;
        width: auto;
        max-width: none;
      }
    }

    Hope it helps.

    Best regards,
    Nikko

    #1418804
    Illingco
    Participant

    Hello. Can you please give me the steps and code (PHP, CSS) to achieve this in the most current iteration of Enfold? I would like to put it next to SHOP & ORDER NOW to it’s left. Thanks!

    #1418802

    give a custom-class to those text-block elements – f.e.: justified-textblock

    #top .justified-textblock p {
      text-align:justify;
      -webkit-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
        /*** new options for hyphens auto with less browser support 
        -webkit-hyphenate-limit-chars: auto 4;
        -ms-hyphenate-limit-chars: auto 4;
        hyphenate-limit-chars: auto 4;
        ****/
    }

    don’t know if those browser support prefixes are still in use ;)

    but! the browser’s Justified Text setting may give unusual results, as it generally does not set any conditional word wrapping (including hyphens).

    There was in former times there was Plugin : Hyphenator that can do a better job – but the plugin has been closed as of July 27, 2023

    Maybe the plugin: wp-typography is a good alternative

    #1418797
    jedediahzilberberg
    Participant

    Hi,

    I have multiple sites using the Enfold theme. As they should, all of them produce files in the /site/wwwroot/wp-content/uploads/dynamic_avia folder. A few of the site produce 10s of thousands of files, of the type “avia-merged-styles-…”, “avia-footer-scripts…”, and “avia-head-scripts…”. The sites that don’t do this only create these files for the current usage day and seem to delete the past ones. For the sites that are creating 10s of thousands of files, can you please let me know why this may be happening and how I can stop if from happening?

    Thanks,

    Jed

    #1418790

    Hi,
    When you say that you don’t like the text wrapping, I assume that you want the tooltips larger, currently they are 250px, try this css and adjust to suit:

    body#top .av-tt-large-width {
        width: 300px;
    }

    It looks like to place the tooltip over the other numbers you need to set the z-index of the open tooltip parent av-image-hotspot to at least 3.
    So this will need to be done with jQuery in the above script, perhaps something like $(this).parent().find(‘.av-image-hotspot’).css({‘z-index’:’3′});
    For me the draw open looks like a cool animation, but I think to remove it we need to add and remove opacity to the script, I will try to adjust this later unless you get to it first.

    Best regards,
    Mike

    #1418788

    In reply to: Productpage

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top.post-type-archive-product .template-shop.content.av-content-full.alpha.units  {
    	display: none;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1418787

    Plus, is there a way to get the tooltip to sit above the hotspots? At the moment, a higher numbers hotspot appears on top of the activated tooltip.

    #1418786

    In reply to: Change Header styling

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    	.responsive #top #wrap_all #main {
    		padding-top: 90px !important;
    	}
    	.responsive #top.home #fullslider {
    		margin-top: 90px;
    	}
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1418785

    Yeah, it’s pretty good. I’m not sure I like the way the tooltip draws from top left to bottom right on activation – I don’t like the way the text wraps. Is there a way to tweak that?

    Thanks again, Mike

    Dominic

    #1418772

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1418771

    Hi,

    Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1418764

    Hey Martin,

    Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    .responsive #top #header .social_bookmarks {
        display: block !important;
    }
    }

    Best regards,
    Rikard

    #1418744

    In reply to: Change Header styling

    Hi Mike,

    that’s brilliant, thanks a mill! Just one thing: the mobile header now overlaps with the content at the very top, I have tested with a Google Pixel 6 phone, and browser console hints at this behaviour for other mobiles, too. I dont know how to overcome, e.g. applying padding-top at the body for mobile screens only it does not solve. Any help is much appreciated! :)

    Best regards

    #1418734
    sarawh
    Participant

    Hi,
    a while ago I asked how we can change the size of the thumbnails on our blog archive pages. We need to do this because we have text on our images which is cut off with the predefined images size. You gave me a reply which I have understood (see below) – but can I implement this change in the child theme? I´ve tried adding this code but it isn´t making any difference, which suggests that I am doing something wrong ;) I have to add that I don´t know much about php. I re-uploaded one of the thumbnails after adding the code but that also made no difference.

    /* Resize portfolio thumbnails on archive/category pages in the blog */
    $avia_config[‘imgSize’][‘portfolio’] = array( ‘width’ => 710, ‘height’ => 375 ); // images for portfolio entries (2,3 column)

    You replied:

    Hi,
    Thank you for your patience and the links to your site, the portfolio size images on the archive pages is set by line 190 in the enfold/functions.php file

    I didn’t find an easy way to adjust the image size on the archive page so I would recommend changing the portfolio size from array(‘width’=>495, ‘height’=>400 ); to mmatch the magazine size array(‘width’=>710, ‘height’=>375 ); and then you will need to regenerate your thumbnails and then check.
    This would also change any other use of the portfolio thumbnails on your site, but it doesn’t look like this would be an issue for you.

    Best regards,
    Mike

    Post Link: https://kriesi.at/support/topic/change-layout-number-of-columns-on-blog-category-pages/#post-1310490

    #1418733

    Thanks, Mike

    Close, but no cigar for me yet. If you check this page: https://oxwedev.wpengine.com/this-is-a-map-test/ – password below – you’ll see the hotspots appear and disappear quickly. I think this is because the code is clashing with:

    // custom script: hide the tooltip on the tab click
    function ava_custom_script_hide_tooltip()
    {
        ?>
        <script type="text/javascript">
            (function($) {
                $(document).ready(function() {
                    $('.av-tab-section-tab-title-container').on('click', function(event) {
                        $('.avia-tooltip').css({
                            opacity: 0,
                            display: 'none'
                        });
                    });
                });
            })(jQuery);
        </script>
        <?php
    }
    add_action( 'wp_footer', 'ava_custom_script_hide_tooltip', 9999 );

    This code hides any visible tooltips when we click on a section tab – very important.

    The clash is causing:
    1. The clickable hotspots to open and close really quickly, and;
    2. The clickable hotspots to stop working at all if you navigate away from the tab and back again.

    Is there a way to tweak this/these code/s so that they don’t clash?

    I really appreciate any help you can provide.

    Dominic

    #1418731

    In reply to: Productpage

    I’m so sorry… it still does not work.

    I placed in in the Appearance Editor. But still this “Not found field”.

    There was already some info in the editor. Could that be the reason? Or could it be this text: “Don’t display products in the clothing category on the shop page.”

    This is al the info there is in there:

    @media only screen and (max-width: 768px) {

    /* Add your Desktop Styles here */
    .responsive #top .products .product:nth-child(odd) {
    clear: none !important;
    }
    }
    post-type-archive .woocommerce-no-products-found {
    display: none;
    }
    function custom_pre_get_posts_query( $q ) {
    $tax_query = (array) $q->get( ‘tax_query’ );
    $tax_query[] = array(
    ‘taxonomy’ => ‘product_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => array( ‘cursus’ ), // Don’t display products in the clothing category on the shop page.
    ‘operator’ => ‘NOT IN’
    );
    $q->set( ‘tax_query’, $tax_query );
    }
    add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );

    For your information: This is in the Enfold Quick CSS. Could that be interfering?

    .single-product-main-image {width: 66% !important;}

    #top .product div.images img {
    width: auto;
    margin: 0 auto;
    }

    #top.archive .thumbnail_container img {
    height: 324px;
    }

    @media only screen and (max-width:767px) {
    .responsive #top #main .sidebar {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    }

    .responsive #top #main .sidebar .inner_sidebar {
    margin-left: 0 !important;
    }
    }
    .avia-button {
    background-color:gold!important;
    }

    .product_cat-cursus .single-product-main-image{
    width: 30%!important;
    }

    add_action( ‘woocommerce_product_query’, ‘custom_pre_get_posts_query’ );

    #1418702

    Hi,
    On your other thread about this I posted this:
    In my test with the hotspot tooltip set to show – always
    this hides all of the tooltips until one is clicked and when the next one is clicked the others are hidden.

    (function($) {
     $(window).ready(function() {
               $('.avia-tooltip').hide();	
           $('.av-image-hotspot_inner').on( "click", function(e) {
           	var $this = $(this).parent().find('.avia-tooltip');
    	      $(this).siblings('.avia-tooltip').toggle('slow');
    	      $('.avia-tooltip').not($this).hide();
            });
         });
    })(jQuery);

    Best regards,
    Mike

    #1418698

    In reply to: Change Header styling

    Hi,
    Thank you for your patience, to make the header sticky on mobile try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all #header {
        position: fixed;
      }
    }

    For the mobile menu fonts try this css:

    @media only screen and (max-width: 767px) {
    	#av-burger-menu-ul a {
    	font-family: kalam;
    }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1418691

    Hey mediafacto,
    Thanks for the link to your site, in the popup the blue one was not correct, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field to correct:

    #top .mfp-content .avia-button.av-4pqcoe-31648334b4896fbdfea9d05f47606f6f,
    #top .mfp-content .avia-button.av-eh4dwu-7ff5582dbec01723c9e3c0eb24a72468{
        background-color: #0e76a8;
        border-color: #0e76a8;
        color: #ffffff;
    }

    After applying the css, please clear your browser cache and check.
    To stop your page from scrolling try adjusting your script to this solution.

    Best regards,
    Mike

    #1418690

    Hey CharlieTh,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    #top #main #commentform .comment-form-rating label[for=rating]{
    	background:green;
    	color:red;
    	font-size: 25px;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1418687

    Hey Yaphoon,
    For your Gaode Map page try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .responsive #top.page-id-53 #av_section_1 .container {
    	max-width: 100%;
    	padding: 0;
    }
    .responsive #top.page-id-53 #av_section_1 .container main {
    	padding: 0;
    }

    the expected results:
    Enfold_Support_3241.jpeg
    as for your mega menu, it looks like each of your menu items is a column title which by defalt has a different color and font size than the regular menu items:
    Enfold_Support_3243.jpeg
    so perhaps you could adjust the mega menu items to correct your font size and color.
    I don’t know what you mean by “adjust the square size”, if you mean the whole mega menu size, it is created by the number of items in it with js and not easy to change.

    Best regards,
    Mike

    Hi,
    If you are using a child theme then yes leave the code in the functions.php, otherwise I recommend the WPcode plugin this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets and you will not lose your code when you update as you would if the code is in your parent theme functions.php.
    To change it into a button using the magic wand in the Post editors we will need to change the function a little to use do_shortcode
    Here is an example that I tested on my yest site and works, you can change the button code to suit your needs:

    add_action("ava_after_content", function() {
        if (is_singular('post')) {
            echo do_shortcode("[av_button label='Back to Bolg' icon_select='yes' icon='ue830' font='entypo-fontello' icon_hover='aviaTBicon_hover' link='manually,#' link_target='' size='medium' position='center' label_display='' title_attr='' size-text='' av-desktop-font-size-text='' av-medium-font-size-text='' av-small-font-size-text='' av-mini-font-size-text='' margin='' margin_sync='true' padding='' padding_sync='true' av-desktop-margin='' av-desktop-margin_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-margin='' av-medium-margin_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-margin='' av-small-margin_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-margin='' av-mini-margin_sync='true' av-mini-padding='' av-mini-padding_sync='true' color_options='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='theme-color' btn_custom_grad_direction='vertical' btn_custom_grad_1='#000000' btn_custom_grad_2='#ffffff' btn_custom_grad_3='' btn_custom_grad_opacity='0.7' btn_custom_bg='#444444' btn_color_bg_hover='theme-color-highlight' btn_custom_bg_hover='#444444' btn_color_font='theme-color' btn_custom_font='#ffffff' btn_color_font_hover='white' btn_custom_font_hover='#ffffff' border='' border_width='' border_width_sync='true' border_color='' border_radius='' border_radius_sync='true' box_shadow='' box_shadow_style='0px,0px,0px,0px' box_shadow_color='' animation='' animation_duration='' animation_custom_bg_color='' animation_z_index_curtain='100' hover_opacity='' sonar_effect_effect='' sonar_effect_color='' sonar_effect_duration='1' sonar_effect_scale='' sonar_effect_opac='0.5' css_position='' css_position_location=',,,' css_position_z_index='' av-desktop-css_position='' av-desktop-css_position_location=',,,' av-desktop-css_position_z_index='' av-medium-css_position='' av-medium-css_position_location=',,,' av-medium-css_position_z_index='' av-small-css_position='' av-small-css_position_location=',,,' av-small-css_position_z_index='' av-mini-css_position='' av-mini-css_position_location=',,,' av-mini-css_position_z_index='' id='' custom_class='' template_class='' element_template='' one_element_template='' av_uid='' sc_version='1.0' admin_preview_bg='']");
        }
    }, 10);

    Best regards,
    Mike

    #1418650

    Mike,

    That’s great! Thank you! Much appreciated! And so I understand…in case I decided to move the position of the two lines…I would just have to change the percentages for “right” and “top” in the css? And is there a logic to changing the percentages…or do you just “play with it” and see how it looks?

    Again, many thanks!

    Steve

Viewing 30 results - 8,041 through 8,070 (of 142,946 total)