Forum Replies Created

Viewing 30 posts - 9,541 through 9,570 (of 11,187 total)
  • Author
    Posts
  • in reply to: Display a scroll down arrow #763574

    well the scroll-top function is on shortcodes.js line 1552

    scroll_top: function()
    {
    	setTimeout(function()
    	{
    		var target_offset = target_wrap.offset().top - 175,
    			window_offset = win.scrollTop();
    							
    		if(window_offset > target_offset || target_offset - window_offset > 100  )
    		{
    			$('html:not(:animated),body:not(:animated)').animate({ scrollTop: target_offset }, options.timing, options.easing);
    		}
    	},10);
    },

    and stackoverflow is full of good hints for a function with scroll-bottom behavior.
    Or much simpler : place a button as you like and link to the anchor #footer (or #socket) – the anchor link is animated as well in enfold.

    if that is good enough? Link

    but for behavior on responsive case – sorry i do not have the time to go here further

    well i think you have to go deep in avia.js
    because what you want is that the shrink amount of the header is less than that of the logo itself.

    search for the function function avia_header_size()

    to change the amount from 50% to f.e 10% it is ok ( and there are alot of discussions here on board)
    but if that what you like to have is work for a normal support – i don’t know

    in reply to: Table: change column widths #762704

    you mean a normal table or that enfold pricing table?
    look here http://kriesi.at/themes/enfold-2017/elements/tables/
    if it is a normal one- like the last one – you can adress (select) each coloumn by :

    .avia-table-5 th:first-child {width: 30%}
    .avia-table-5 th:nth-child(2) {width: 20%}
    .avia-table-5 th:nth-child(3) {width: 25%}
    .avia-table-5 th:nth-child(4) {width: 25%}

    so give the table a custom class f.e. tablestyle1 and go this way

    .tablestyle1 th:first-child {width: 30%}
    .tablestyle1 th:nth-child(2) {width: 20%}
    .tablestyle1 th:nth-child(3) {width: 25%}
    .tablestyle1 th:nth-child(4) {width: 25%}
    in reply to: Https problem #762387

    first look into your media and click the logo – see what url was concerned to it. If there is a https you only have to erase the input in logo field of enfold options dialog. Save the setting without logo – than reenter it and save again.
    I guess that would do the trick.

    by the way – i sometimes play with enfold options – for example having the boxed version with a background image – or a logo for transparency options. Going back to stretched layout the field f.e. of body background is hidden – but former entries are in. These setting are often forgotten.
    But in your case it is only the logo.

    On shop: shop-banner-1-495×200.jpg

    open that color section above and reload the background image

    in reply to: some extra classes for hover states on enfold #762058

    Yes – see private Content

    in reply to: Https problem #761821

    without your page as a link – i can not help you.
    i myself changed my personal websites to https which are allready installed.
    there are some good plugins (me as a german i prefer search&replace) which can directly search for strings in the database and replace them in all tables. So you can search for http://yourdomain and replace it by https://yourdomain (do not try tor search only for http – https – because all existing https will change to httpss)
    Sometimes these are f.e. in quick css absolute positioned images etc. pp. To help you it will be best to see the site.

    in reply to: Entire Column clickable #761700

    you have to create a folder in your child-theme folder – call it “shortcodes”
    put in the columns.php of josue in that folder and
    place this to your child-theme functions.php:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }
    in reply to: Different logo for sticky header #761437

    the code is good – but the second logo is missing.
    How did you insert the second logo ?

    i prefer this method via functions.php of child-theme

    function second_logo($logo) {
    $logo .= '<strong class="logo second-logo"><a href="url2" target="_blank">' ;
    $logo .= '<img src="url to you second logo" />';
    $logo .= '</a></strong>';
    return $logo;
    }
    add_filter('avf_logo_final_output', 'second_logo');

    afterwards you can set this second-logo to display: block with:

    .header-scrolled .second-logo > a > img { display: block !important; }

    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761384

    ok – so geht es ja jetzt

    PPS:

    setze mal in quick css:

    #mobile-advanced {
        background-image: url("http://ahlers-vogel1.x-production.com/wp-content/uploads/2016/10/Ahlers-Vogel_Logo.png");
        background-position: left top;
        background-repeat: no-repeat;
        background-size: 40% auto;
        padding: 10% 0 !important;
    }

    und schau dann in das mobile menu rein
    eventuell nimmt man da auf Grund deines grauen Hintergrundes ein anderes Logo ( ganz Weiss vielleicht oder composite)

    your welcome

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761296

    bitte nichts mehr ändern: und folgenden code einfügen (den rest bitte löschen)

    @media only screen and (min-width: 320px) and (max-width: 990px) {
    body .column-top-margin {
        margin-top: 0;
    }
    
    div .av_one_fifth {
        margin-left: 2% !important;
        width: 44%;
      clear: none !important
    }
    
    div .av_one_fifth:nth-child(2n+1) {
        clear: both !important;
    }
    }
    • This reply was modified 7 years, 11 months ago by Guenni007.
    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761287

    immer genau lesen – ich war ja von den Einstellung individuelle höhe und kein Abstand ausgegangen – bei dir ist es jetzt:

    #top .av_one_fifth {
        width: 18%;
    }
    
    @media only screen and (min-width: 480px) and (max-width: 990px) {
    #top .av_one_fifth {
        clear: none !important;
        width: 48% !important;
    }
    #top .av_one_fifth:nth-child(2n+1) {
        clear: both !important;
    }
    }

    die no-margin anweisung ist auch dann hinfällig gewesen weil du ein top-margin definiertest.

    was ich mit Einstellungen meine: die erste 1/5 tell Spalte bestimmt das Verhalten der 4 nachfolgenden. Wenn du jetzt von einem 4 Spalter auf einen 5 Spalter wechselst, springen die 1. Elemente der folgenden Reihen als 5. Element eine Reihe höher. Und das ursprünglich 2. 1/5tel springt auf den ersten Platz. Diese Columns sind aber per default auf equal height und space eingestellt. Daher musst du beim Ändern auf 5 Spalter alle ersten Spalten die Einstellungen dort prüfen.

    in reply to: Enfold 2017 main demo Font #761244

    headings are Lato and text is Open Sans

    can you give me a link too – i’m participant as you but with over 1600 postings a bit skilled for enfold.
    on your own site i can’t find some difficulties.

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761223

    hast du einen direkt link dahin – ich finde die 5 spalter nicht

    ich hatte ganz bewußt auf diese Spanne gestellt. Wenn es zu klein wird um gesehen zu werden ist es auch doof oder?
    480px ist die Handy Querformatmarke.
    Wenn du auch auf dem Handy im Hochformat das haben willst musst du die untere Marke auf 320px stellen
    oder gar noch kleiner einstellen – ein Link wäre genial, weil dann kann man optimieren.
    ZB würde ich dann das padding links/rechts wohl verringern Mobilen Fall ( du hast das generell auf 15% – finde ich recht üppig bei 320px breite.

    und btw. wenn du von 4 auf 5 Spalten stellst musst du jedesmal leider auf die erste Spalte gehen um dort die Parameter neu einzustellen.
    (individuelle Höhe, und kein Platz zwischen den Spalten – denn ich glaube per default ist das auf equal height und space gestellt)

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761063

    bei 5 er columns geht es ähnlich
    wie gesagt ich habe mal auf der Testseite das so angelegt : 1/5 dann individuelle Höhe (sonst ist das auf display: table-cell) und keine Zwischenräume (die lege ich selbst fest.

    dann :

    #top .no_margin.av_one_fifth {
        width: 18%;
    }
    #top div .no_margin {
        margin-left: 2% !important;
        margin-top: 0;
    }
    
    @media only screen and (min-width: 480px) and (max-width: 990px) {
    #top .no_margin.av_one_fifth {
        clear: none !important;
        width: 48% !important;
    }
    #top .no_margin.av_one_fifth:nth-child(2n+1) {
        clear: both !important;
    }
    }

    mit den Abständen kannst du ja was spielen.
    wichtig ist eben: kein clearing über die columns bis auf (2n+1)

    das ist noch nicht ganz perfekt, weil da jetzt links rechts ein anderer Abstand ist.
    man könnte dann für #top .no_margin.av_one_fifth.first was setzen etc. – aber so sieht es auch schon besser aus

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761058

    ach schon mal ne Lösung für die Footer Problematik (auch hier sind es ja 5 Säulen) du hast dort die Schrift verkleinert – brauchst du so garnicht.
    Du kannst aber auch hier auf 2 2 1 gehen
    du siehst die media querries pixelwerte kannst du ja dann deinen Bedürfnissen anpassen.

    @media only screen and (min-width: 480px) and (max-width: 989px) {
    #footer .av_one_fifth {
        margin-left: 0% !important;
        width: 50% !important;
    }
    
    .responsive #footer div .av_one_fifth:nth-child(2n+1) {
        clear: both !important;
    }
    }
    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761056

    hast du eine seite wo auch 5 sind?

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761038

    https://webers-testseite.de/kokon/fifth-columns/

    i only can help best if i see your page

    these are 1/5th columns with image and text under it. The columns are from individual height and with no space between

    in reply to: Clearing issue in mobile 1/5th columns with 50% width #761014

    what is the thing you like to have? 2 2 1 or maybe 1 2 2 (1 in center above)
    the thing is here to work with nth:child options and clearings

    is there a link for a participant as me?

    you lost something – try this in htaccess file: Link

    <FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>

    a bit offtopic but in the same direction:
    Wordpress itself got an image quality tool – this is in a good meaning but if the image creator knows his job excellent sometimes the 90% jpg is bad quality but more space. To avoid this from wp induced process add this to functions.php child-theme:

    add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );

    in reply to: SVG logo don´t display on larger screens #760961

    by the way placing the svg to the image box – give the image box a custom class and f.e. svgimg

    than place in your quick css:

    .svgimg .avia_image {
        height: auto;
        width: 350px;
    }

    or 100%

    in reply to: SVG logo don´t display on larger screens #760937

    on svg you can open the svg file in a good text editor (sublime text on Mac OSX or notepad++ on PC)

    on top of your svg there is some code like this:

    <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
    	 viewBox="110 33 400 120" enable-background="new 110 33 400 120"  xml:space="preserve">

    you can manually enter : preserveAspectRatio=”xMinYMin meet” (just before xml:space so there is:

    <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
    	 viewBox="110 33 400 120" enable-background="new 110 33 400 120" preserveAspectRatio="xMinYMin meet" xml:space="preserve">

    this code offers you the influence how the svg shrinks. xMinYMin means it goes to the top left corner
    if you like to center the logo in x-direction : xMidYMin means it centers on shrinking in x-direction but it goes to top etc
    xMaxYMax – goes to right bottom corner of the surrounding container.

    in reply to: image alb element and custom class #760920

    well with the plugin above and my “image.php” i can use the alb element. And only by adding a custom class i reach the possibility to add that inline svg.

    My idea now is to insert an if clause to the image alb ( if mime type is svg than custom class of image is …)

    on logo case i often use this:

    function first_logo($logo) {
    $logo .= '<strong class="logo first-logo"><a href="url1">' ;
    $logo .= file_get_contents("path to svg logo");
    $logo .= '</a></strong>';
    return $logo;
    }
    add_filter('avf_logo_final_output', 'first_logo');

    to place an inline svg as logo.

    in reply to: image alb element and custom class #760884

    see what happens on hovering the svg!

    in reply to: image alb element and custom class #760875

    hm i changed it in image.php to: (from line 437)

    $markup_url = avia_markup_helper(array('context' => 'image_url','echo'=>false, 'custom_markup'=>$meta['custom_markup']));
    $markup = avia_markup_helper(array('context' => 'image','echo'=>false, 'custom_markup'=>$meta['custom_markup']));
    
    $output .= "<div class='avia-image-container {$class} ".$meta['el_class']." ".$this->class_by_arguments('align' ,$atts, true)."' $markup >";
    $output .= "<div class='avia-image-container-inner'>";
    if($link)
    {
    	$output.= "<a href='{$link}' class='avia_image'  {$blank}>{$overlay}<img class='avia_image ".$meta['el_class']." ' src='{$src}' alt='{$alt}' title='{$title}' $markup_url /></a>";
    }
    else
    {
    	$output.= "{$overlay}<img class='avia_image ".$meta['el_class']." ' src='{$src}' alt='{$alt}' title='{$title}'  $markup_url />";
    }
    $output .= "</div>";
    $output .= "</div>";
    }

    you can see result here: https://webers-testseite.de/kokon/3164-2/

    this is an image alb element in a 1/2 container.
    The plugin (svg support) – if it comes to an img tag with class style-svg it replaces the whole img container with the svg code ! nice !

    in reply to: image alb element and custom class #760857

    :lol – yes

    the reason : there is an svg plugin which enables all in wordpress what svg must have. in dashboard media the grid and the list overview is with svg preview and the clue : you can embed svg in the normal and advanced layout editor. This is allready possible – but the svg is still an img tag.
    if you give a custom css class to it (standard is style-svg) it places not an image tag but the svg inline code.
    This has a lot of advantages.
    So in tiny mce editior this is simple to set the class to the image. But on alb image not.

    how does the parent container get the custom class?

    for me it will be ok if i put a new shortcode image.php in child theme – but i do not see where the custom class in the code comes from.

    in reply to: Mobile Hamburger Menu & Sticky Header Opacity #760253

    ah – and by the way the logo in the hamburger menu is a home link with image instead of text.

    in reply to: Mobile Hamburger Menu & Sticky Header Opacity #760251

    For the overlay we need a container surrounding the whole thing which could be adressed well.
    So best will be to make a copy of header.php in the child-theme folder.
    Open it and insert that new container just after the opening wrap_all container to have than:

    <div id='wrap_all'>
    <div class='mega-bg'></div>

    so we can have than in quick css :

     .mega-bg {
        width:100%;
        height:500%;
        position:absolute;
        display:none;
        z-index:0;
        transition: all 1s linear 0;
        opacity: 0
        }  
    
     .av-burger-overlay-active .mega-bg {
        width:100%;
        height:500%;
        background:#fff;
        position:absolute;
        display:block;
        z-index:500;
        transition: all 1s linear 0;
        zoom: 1;
        filter: alpha(opacity=80);
        opacity: 0.8;
        }

    you see here that mega-bg container is just a “super container ” and in normal mode with opacity zero !
    when hamburger menu opens there is an extra class : .av-burger-overlay-active.
    we can now use this to change opacity and background-color (you can use here every color you like even#000)

    here is the rest with some comments:

    /******** some logo adjustments *************/
    
    .main_menu .avia-menu,#header_main_alternate,.fallback_menu {
    display:block;
    float:right;
    }
    
    .responsive #top #wrap_all .container {
    max-width:95%;
    width:95%;
    }
    
    .responsive #top #wrap_all #header {
    background-color:#fff;
    opacity:1;
    position:fixed;
    width:100%;
    }
    
    .responsive #top .logo {
    float:left;
    position:absolute;
    top:50%!important;
    transform:translateY(-50%);
    width:65%;
    }
    
    #menu-item-burger > a {
    padding-right:8px!important;
    }
    
    #advanced_menu_toggle {
    display:none!important;
    }
    
    /******** if you like to have infront of your menu-items some icons. *************/
    
    #av-burger-menu-ul li#menu-item-437 a .avia-menu-text::before {content: "\e821 \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-438 a .avia-menu-text::before {content: "\e83c \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-439 a .avia-menu-text::before {content: "\e857 \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-440 a .avia-menu-text::before {content: "\e80b \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-441 a .avia-menu-text::before {content: "\e805 \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-589 a .avia-menu-text::before {content: "\e80e \00a0";font-family: entypo-fontello; color: #0088BD}
    #av-burger-menu-ul li#menu-item-703 a .avia-menu-text::before {content: "\e81e \00a0";font-family: entypo-fontello; color: #0088BD}
    
    /********. some changings of hamburger menu.  **********/
    
    .av-burger-overlay {
        box-shadow: -2px 0 10px #bbb;
        left: auto;
        max-width: 400px;
    }
    
    .av-burger-overlay-inner {
        background: #fff url("url to a background image") no-repeat scroll 0 0 / cover ; 
    }
    
    .av-burger-overlay-active #top .av-hamburger-inner, .av-burger-overlay-active #top .av-hamburger-inner::before, .av-burger-overlay-active #top .av-hamburger-inner::after {
        background-color: #0088BD !important;
    }
    
    #av-burger-menu-ul li a {
        color: #000 !important;
    }
    
    #av-burger-menu-ul li a .avia-menu-text {
        text-shadow: 1px 1px 3px #333;
    }
    
    #av-burger-menu-ul li a:hover .avia-menu-text {
        color: #0088BD;
        font-weight: 400;
    }
    
    /******** if you don't like to have fullscreen hamburger active menu when under a given screenwidth *************/
    			
    @media only screen and (max-width: 880px) {
        .av-burger-overlay {
        box-shadow: none;
        left: 0 !important;
        max-width: 100% !important;
    }
    }
Viewing 30 posts - 9,541 through 9,570 (of 11,187 total)