Forum Replies Created

Viewing 30 posts - 3,661 through 3,690 (of 11,546 total)
  • Author
    Posts
  • in reply to: Replace alternate Logo on some pages #1329352

    Thank you – that works – looks horrible in child-theme functions.php – but it is faster than:

    function replace_transparent_logo_on_some_pages(){
    if(is_front_page()){
    ?>
    <script>
    (function($){  
        $.get('URL_of_that_SVG', function(svg){
          $( ".avia-svg-logo-sub" ).html( svg );
        }, 'text');
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'replace_transparent_logo_on_some_pages');

    i try to get a combination of both ;)

    yes – that is nearly exactly my solution – only that change in gallery.js i think it is not necessary.
    – but it has the disadvantage ( as mentioned above ) – that there is no “gallery mode” ( on magnificPopup: gallery: { enabled:true }, )

    in reply to: When do we see Global Elements as an option? #1329334

    Next: for that option to change one page and change on several pages i use the ALB: Page Content
    Layout your page you like to insert on a different page and insert it with that alb.
    Editing that page will change it on every place it is inserted to.

    ________

    in reply to: When do we see Global Elements as an option? #1329332

    And how about the option to save the color-section as template?

    I use that for a lot of prestyled layouted Color-Sections
    you find those templates in the upper right side –
    Or save a whole page as template !

    PS

    in reply to: SVG logo not loading #1329194

    Hi Ismael – and when will 4.8.7.2. be downloadable ? ;)

    Ja Danke

    no my solution is only a temporary solution – because it does not have a gallery function in the lightbox.
    https://webers-testseite.de/ajax-gallery/

    • This reply was modified 3 years, 8 months ago by Guenni007.
    in reply to: Display search icon on mobile in burger flyout #1328859

    but if you have that search on your main-navigation the magnifier symbol ( search ) is also on hamburger open visible !
    Maybe you only had to style the colors of that Search icon

    then you will not need anything else ? express your request a little more precisely.
    __________
    but if you want it like this: https://webers-web.info
    you can hide that custom link in your “non-hamburger” navigation by setting it to display none.
    Think of that custom class on that custom link:

    #avia-menu li.menu-search {
        display: none;
    }

    now we got a menu item search – to have the chance to write into that input field – the link on the item itself disturbs – we had to get rid of the href :
    this to child-theme functions.php:

    function remove_href_from_search_input(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('#header').on('click', '.av-main-nav-wrap', function() {
    			$('#av-burger-menu-ul .menu-search > a:first-of-type').removeAttr("href");
    	});	
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_href_from_search_input');

    on my testinstallation i got this in my quick css – but you had to adjust it to your settings and needs:

    #avia-menu li.menu-search {
    	display: none;
    }
    
    #av-burger-menu-ul li.menu-search a:hover {
    	background-color: transparent !important;
    }
    
    #av-burger-menu-ul li.menu-search a:hover {
    	opacity: 1 !important
    }
    
    #av-burger-menu-ul li.menu-search .ajax_search_response {
    	margin-top: 30px !important;
    }
    
    #av-burger-menu-ul li.menu-search .ajax_search_response  * {
    	color: #fff;
    }
    
    #av-burger-menu-ul li.menu-search .ajax_search_response .av_ajax_search_content .av_ajax_search_title {
    	font-size: 16px
    }
    
    #av-burger-menu-ul li.menu-search .ajax_search_response  .av_ajax_search_entry:hover .av_ajax_search_title {
    	letter-spacing:0.4px;
    	color: #004e7f
    }
    
    #av-burger-menu-ul li.menu-search .av_ajax_search_image {
    	background-color: #fff;
    	border-radius: 0;
    	color: #000 !important
    }
    in reply to: Display search icon on mobile in burger flyout #1328810

    Go and activate the shortcode for search in child-theme functions.php

    add_shortcode('avia_search', 'get_search_form');
    

    then you can place an custom link to your menu by Navigation Label: [avia_search]
    maybe to select it easier give a custom class to that custom link.
    The rest is css

    in reply to: Display search icon on mobile in burger flyout #1328808

    sorry editing when you wrote your text:
    do you want the search only on hamburger?

    in reply to: Display search icon on mobile in burger flyout #1328806

    what kind of header do you have?
    do you want the search only on hamburger?

    I thank you again for the fact that good ideas from the participants are also adopted here in a prompt manner. Top!
    From my part you may close this – now soon obsolete – topic.

    in reply to: Preview of used fonts in Backend and ALB … #1328571

    yes – but strang it is anyway. Because at frontend the font works.

    Next: On my tag archive page the $label (tag.php line 83) there is ony “posts” showing ( on german Beiträge ) , why isn’t there the current tag nam instead?

    Edit : change tag.php arround line 132 to:

    if( isset( $post_type_obj[ $key ]->labels->name ) )
    {
        $label = apply_filters('avf_tag_label_names', $post_type_obj[$key]->labels->name);                           
    	$current_tag = single_tag_title("", false);
    	echo "<{$heading} class='post-title tag-page-post-type-title'>". __( 'Tag', 'avia_framework' ) .": <span>".$current_tag."</span></{$heading}>";
    }

    or maybe better to have on top of that list : ” Tag Archive for: “

    if( isset( $post_type_obj[ $key ]->labels->name ) )
    {
        $label = apply_filters('avf_tag_label_names', $post_type_obj[$key]->labels->name);                           
    	$current_tag = single_tag_title("", false);
    	echo "<{$heading} class='post-title tag-page-post-type-title'>". __( 'Tag Archive for:', 'avia_framework' ) ." <span>".$current_tag."</span></{$heading}>";
    }

    and have now my own child-theme tag.php – but is there maybe a different way to get this via filter ?

    in reply to: performance compression not working #1328458

    on a customer installation – the hoster updated to Debian Bullseye (I guess it’s version 11), this version implemented only Apache 2.4 modules.
    This caused some problems with various plugins. In the older theme was yes debian 9.x at the start, but maybe thinkjarvis problems stem exactly from that. Ask your provider if they also run Bullseye in the meantime.

    in reply to: missing alt tag on svgs #1328455

    sorry – forgot to mention – each of the entries in the svg tag is separated by a space ; as you can see in the example above.

    in reply to: missing alt tag on svgs #1328404

    these are the svgs itself
    you can open with a good texteditor your svgs and place your wanted alt and title tags you like – before uploading.
    On media library the alt tag is only if you use the svg as img tag ( <img src="/wp-content/uploads/abc.svg" alt="" />

    on default a svg starts with the svg tag – put in what you need – f.e.:
    <svg xmlns="http://www.w3.org/2000/svg" id="nicht_animiertes_Logo" alt="Mein Logo" title="Logo" x="0" y="0" preserveAspectRatio="xMinYMid meet" version="1.1" viewBox="0 0 420 150" xml:space="preserve">

    in reply to: More columns in the portfolio or in the blog overview #1328242

    Now that’s what I call: looking for solutions at an early stage!

    in reply to: More columns in the portfolio or in the blog overview #1328230

    hey Mike

    Otherwise, I can just use an image grid, but that would be more cumbersome because I would then have to link each image individually. With the other two options, I would only need to create the individual pages.

    I guess the above solution will satisfy her
    see example-page: https://webers-testseite.de/sabine/

    in reply to: More columns in the portfolio or in the blog overview #1328227

    maybe you consider Mike’s warning and leave this 8col layout only for wide screens

    @media only screen and (min-width: 990px){
    	.grid-col-8 .grid-entry {
    	  width: calc(12.5% - 8.75px) !important;
    	  padding: 0;
    	  margin: 0 10px 10px 0 !important;
    	}
    
    	.grid-col-8 .grid-entry:nth-child(8n) {
    	  margin-right: 0 !important;
    	}
    }
    in reply to: More columns in the portfolio or in the blog overview #1328226

    you can increase the Column Count number there at the drop-down by making appropriate changes in the portfolio.php.

    you can download the whole portfolio.php from pastebin:
    ( this is on basis of enfold 4.8.7.1)
    look: https://pastebin.com/v1s9sdQb
    download: https://pastebin.com/dl/v1s9sdQb

    This new portfolio.php you can upload via ftp to a folder named shortcodes in your child-theme folder:
    child-theme/shortcodes
    To load those edited child-theme alb elements ( see docu ) – you had to place that snippet in your child-theme functions.php:

    function avia_include_shortcode_template($paths){
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);

    after that in the dom the portfolio will have that extra class : grid-col-8 ( in your case )
    now you only have to put this to your quick css ( or something similar ):

    .grid-col-8 .grid-entry {
      width: calc(12.5% - 8.75px) !important;
      padding: 0;
      margin: 0 10px 10px 0 !important;
    }
    
    .grid-col-8 .grid-entry:nth-child(8n) {
      margin-right: 0 !important;
    }

    ps: 8.75px because 8cols will have 7 spaces between with a setting of 10px it is 70px total space 70px/8 = 8.75px

    in reply to: More columns in the portfolio or in the blog overview #1328222

    but the Media Gallery has the possibility to accept up to 12 columns.
    So put in your 64 Images with link and choose 8 columns with gallery style: small thumbnail

    Edit: sorry i didn’t read on from Otherwise …
    i’m looking now for a portfolio solution

    in reply to: Play reverse animation when scrolling up #1328195

    I suspect that pure css animations can’t do what you want them to do.
    These animations need detection of whether an element is in the viewport or not. These events could be detected via Element.getBoundingClientRect() and this has wide browser support so far, but that seems to be a continuous high performance interaction.
    in the meantime there seems to be a better solution using intersectionObserver. But you would have to add these listeners yourself via child-theme functions.php. But then they are very flexible to use.

    in reply to: Styling search bar on main page [avia_search] #1328157

    There is no cuatom class on that menu-item so you can do that :

    #menu-item-7484 .avia-menu-fx {
        display: none;
    }
    in reply to: Preview of used fonts in Backend and ALB … #1328110

    Thanks – Ismael – it seems to be a problem with the special font – “scripter” – that a “web designer” sent me. It is displayed in the frontend, but not in the backend for reasons still unknown to me – when I switch to another self-hosted font I don’t have these problems. – So now I’m going to search for this font myself.

    Now – how did you implement your child-theme – just over the downloadable preset Child-theme – or do you have additional Settings in your child-theme functions.php like:

    function child_theme_styles() {
    	wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    	wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style'));
    }
    add_action( 'wp_enqueue_scripts', 'child_theme_styles' );?>

    PS The above does not lead to conflicts – but it is just an example how a child and a parent could be correlated.

    __________

    Just of topic: On Filezilla you can show hidden files by activating that option by menu – Server – List hidden files
    Just to be sure that there are no other files/folders in the themes folder.

    in reply to: Change logo #1328100

    My guess was that the normal logo was removed ( that’s why the Enfold Standard logo is placed there ), but just not the logo at ” header – transparency options – Transparency Logo”.
    But since all pages are those with transparent header, only the “alternate” logo is displayed in the subtext ( because no shrinking and fixed header is set) , which is just this what we see in the frontend.

    _______________

    _______________
    What you can do too – is remove the logo from Transparent Logo input field. And place your wanted logo on the logo input field. That will work too. Because if there is no logo set for transparency – Enfold will only use the normal logo set on theme options.
    _______________
    PS: However, if you want to replace with writing (font) it doesn’t matter anyway. The css will hide all .logo img/svg.

    in reply to: How to connect columns? #1327957

    here is a gallery with 9 columns – https://webers-testseite.de/gallery-with-8-images/ using flexbox model. ( Gridmodel is very complex – but a mighty tool too ). ( Sorry for page – title it was before a 8 column flex constuction )
    But floating text from one container to another one is hard to get with column layout – and even with table layout.
    One thing you can achieve is a single-column layout, divided into column numbers:
    https://webers-web.info/textblock/

    And Ismaels idea of using grid-row is to nest columns : https://webers-testseite.de/nesting/

    in reply to: How to connect columns? #1327944

    please show me a good looking 12 column layout ;)

Viewing 30 posts - 3,661 through 3,690 (of 11,546 total)