Forum Replies Created

Viewing 30 posts - 1,981 through 2,010 (of 11,207 total)
  • Author
    Posts
  • in reply to: Size sidebar 10% #1400827

    aha – this is a possiblility to change the options tab via child-theme:
    ( sometimes the settings had to fit with preset css ( layout.css , grid.css )) – and so maybe for the setting there is no correspondence to find )
    but in this case it seems to be only that css setting above – that is influenced by this options tab.

    put this to your child-theme functions.php:

    function my_avf_option_page_data_change_elements( array $avia_elements = array() ){
      $slug = "layout";
      $id   = 'content_width';
      $index = -1;
      /** Find index of element to change*/
      foreach( $avia_elements as $key => $element ){
        if( isset( $element['id'] ) &&  ( $element['id'] == $id ) && isset( $element['slug'] ) && ( $element['slug'] == $slug ) ){
          $index = $key;
          break;
        }
      }
      
      /** * If key not found, return unmodified array*/
      if( $index < 0 ){ return $avia_elements;}
      
      /*** Make your customizations*/ 
      $avia_elements[ $index ]['subtype'] = array(
    								'90% | 10%' => '90',
    								'89% | 11%' => '89',
    								'88% | 12%' => '88',
    								'87% | 13%' => '87',
    								'86% | 14%' => '86',
    								'85% | 15%' => '85',
    								'84% | 16%' => '84',
    								'83% | 17%' => '83',
    								'82% | 18%' => '82',
    								'81% | 19%' => '81',
    
    								'80% | 20%' => '80',
    								'79% | 21%' => '79',
    								'78% | 22%' => '78',
    								'77% | 23%' => '77',
    								'76% | 24%' => '76',
    								'75% | 25%' => '75',
    								'74% | 26%' => '74',
    								'73% | 27%' => '73',
    								'72% | 28%' => '72',
    								'71% | 29%' => '71',
    
    								'70% | 30%' => '70',
    								'69% | 31%' => '69',
    								'68% | 32%' => '68',
    								'67% | 33%' => '67',
    								'66% | 34%' => '66',
    								'65% | 35%' => '65',
    								'64% | 36%' => '64',
    								'63% | 37%' => '63',
    								'62% | 38%' => '62',
    								'61% | 39%' => '61',
    
    								'60% | 40%' => '60',
    								'59% | 41%' => '59',
    								'58% | 42%' => '58',
    								'57% | 43%' => '57',
    								'56% | 44%' => '56',
    								'55% | 45%' => '55',
    								'54% | 46%' => '54',
    								'53% | 47%' => '53',
    								'52% | 48%' => '52',
    								'51% | 49%' => '51',
    								'50% | 50%' => '50'
    							);
      return $avia_elements;
    }
    add_filter( 'avf_option_page_data_init', 'my_avf_option_page_data_change_elements', 10, 1 );

    i used it once in a similar way for footer_columns.

    • This reply was modified 1 year, 11 months ago by Guenni007.
    in reply to: Size sidebar 10% #1400817

    don’t know if there is a way to have f.e. a child-them influence of the array on content_width
    f.e. by use of the filter : avia_layout_filter

    – but try first the quick css setting:

    @media only screen and (min-width: 768px) {
      #top .container .av-content-small {
        width:90%;
      }
    }

    but I can’t actually imagine that this can look good at 800px wide, for example.

    in reply to: Double menu #1400687

    i don’t know if there is an easy way to add mega-menu functionality to sub-menu but:

    i would not use the submenu on that – but header layout : logo left – menu below – so you can use all features of main menu.
    and to get the top right menu – use a header widget area. And place a navigation menu widget in it.

    in reply to: Widget Menü Text Ausrichtung oben #1400685

    maybe you decide to show the list in responsive case this way:

    @media only screen and (max-width:767px) {
      #top .widget_nav_menu ul {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items:  baseline;
      }
      
      #top .widget_nav_menu ul > li {
        padding: 0 5px !important
      }
    
      #top .content .flex_column .widget_nav_menu li:first-child {
        border-top-width: 0px !important; 
      }
    
      #top .sidebar_left .widget_nav_menu ul:first-child > .current-menu-ancestor, 
      #top .sidebar_left .widget_nav_menu ul:first-child > .current-menu-item, 
      #top .sidebar_left .widget_nav_menu ul:first-child > .current_page_item {
        top: 0px !important; 
      }
    }

    if you must have this more specific to that list – give a custom class to it and edit the code above.

    in reply to: Widget Menü Text Ausrichtung oben #1400679

    the ul list items got a padding: .8em 3px

    but before we change that value or shift the ul up – it is easier if you go to the right column with the slider – edit that column and give a padding top to that column of about 18px

    in reply to: Custum code in functions.php #1400676

    or :
    ;)

    function clicky_analytics_header(){
    ?>
    	<script type="text/javascript" src="//static.getclicky.com/xxxxxxxx.js"></script>
    <?php
    }
    add_action('wp_head', 'clicky_analytics_header');
    in reply to: ICONLIST – different layout for smartphone #1400675

    well then, piece by piece – again, it’s better to remove all the code I gave you and replace it with this one:

    @media only screen and (max-width:767px) {
      .avia-icon-list.av-iconlist-big .iconlist_icon {
        float:none;
        margin: 0 0 25px;
        position: relative;
        left: 50%;
        transform: translateX(-50%) !important;
      }
      .avia-icon-list.av-iconlist-big .entry-content-header {
        text-align : center !important;
      }
      .avia-icon-list.av-iconlist-big .iconlist_content  {
        text-align: left !important
      }
      .avia-icon-list.av-iconlist-big .iconlist-timeline {
        display: none
      }
    }

    but in this case i would like to inspect your live page to see what is causing it.
    if you could not post your page link here – send me an e-mail – or wait till mods are here.
    on my testpage this is not the way you described it. see H2O and ® in the menu. https://webers-testseite.de/

    in reply to: subheading added to magazine #1400646

    thanks

    in reply to: ICONLIST – different layout for smartphone #1400645

    Yes – remove the whole code and replace with:

    @media only screen and (max-width:989px) {
      .avia-icon-list.av-iconlist-big .iconlist_icon {
        float:none;
        margin: 0 0 25px;
        position: relative;
        left: 50%;
        transform: translateX(-50%) !important;
      }
    
      .avia-icon-list.av-iconlist-big .iconlist-timeline {
        display:none
      }
    
      .avia-icon-list.avia-icon-list-right.av-iconlist-big .article-icon-entry * {
        text-align:left !important
      }
    }

    on that page you do not use icon on the right side – but if – this will be there too.

    PS: i see your columns break at 767px so if you change the media-query to 767px instead of 989px it will be synchronised with your columns

    in reply to: a pattern in the background PLUS Pictures in Background #1400604

    See: https://webers-testseite.de/multiple-background-images/

    the nomenklatura on multiple background-images is clear – look to the link above
    You can apply multiple backgrounds to elements. These are layered atop one another with the first background you provide on top and the last background listed in the back. Only the last background can include a background color.

    see here with your bg image: https://webers-testseite.de/two-bg-images/
    but – i think your will have more control over the position of your image above the pattern – if you place an image alb element.

    in reply to: Two Button Styles #1400602

    the “avia-button” is the anchor itself. i guess you like to have the div parent container styled- this is class: avia-button-wrap

    and to have an outline on that parent div it might be better to set – otherwise there will be a gap between background and outline on top/bottom :

    #top  div .avia-button {
      margin: 0 !important
    }

    next hint: the class schwarzer-button and outline-button are custom classes you set?
    this custom-class goes to that parent div.

    .avia-button-wrap.schwarzer-button {
    …
    }
    
    .avia-button-wrap.schwarzer-button:hover{
    …
    }
    
    .avia-button-wrap.outline-button {
    …
    }
    
    .avia-button-wrap.outline-button:hover {
    …
    }
    • This reply was modified 1 year, 11 months ago by Guenni007.
    in reply to: serious bug #1400567

    is there a special character inside that new text – for example a greater than or less than ?
    These characters will be recognised as a starting/ending tag – and can destroy the rest of the html structure.
    if you like to use such characters you had to use either html entities or – a little helper like: https://github.com/KriesiMedia/enfold-library/blob/master/integration%20plugins/Enfold/Special%20Character%20Translation/avia-special-characters_1_1_1.zip

    thats why i mentioned it that the css is set to !important on enfold menu.css for responsive case.
    It is not possible to overwrite such a setting via quick css – even if it is set to important too.
    the other thing is the calculation if clause in menu.js

    if( burger_menu.is(":visible") ){
    	this.css({top: 'auto', position: 'absolute'}); fixed = false;
    	return;
    }

    this has to be commented out – because that is the reason why it is set to position: absolute allthough the setting is fixed in alb.

    in reply to: Logo Area split – only half transparent #1400563

    es muss aber ja einen Grund haben warum das – was auch immer es ist – mit der Klasse: mce_SELRES_start.
    Danach solltest du suchen – da es die Englische Versio nicht hat – ist es dann obsolete?
    Dann entferne es von der deutschen Version. Dieser Kontainer p-tag inclusive des o.a. span-tags verursacht den weißen Hintergrund oben.
    der Code im quick css sollte es aushebeln :

    #top #main > p {
      height: 0px !important;
      margin: 0px !important;
    }

    jodoch ist die ursprüngliche Frage – ob der Container überhaupt benötigt wird.
    __________
    Das andere Problem habe ich nur bemerkt, da ich auch den mobilen Fall mir angeschaut habe.
    Du willst den header – entgegen dem Enfold Default Verhalten – oben fixiert lassen. Das ist eben ob der verschiedenen Header Möglichkeiten ( transparent, glassy, nicht transparent ) nicht so trivial. Ein fixiertes Element ist sozusagen ausserhalb des DOM.
    Mein Code im Link oben erledigt das – jedoch gibt es eine Regel, die von dir wohl erstellt wurde, was das padding-top von #main betrifft. Die ist schlicht falsch!

    Du lässt den Hamburger bei 989px erscheinen, könntest das aber auch früher machen (1225px)

    unterhalb der 767px hast du dann eine css setzung die eine Riesenabstand von #main zum header verursacht:

    in reply to: ICONLIST – different layout for smartphone #1400562

    isn’t this what my code does:

    in reply to: ICONLIST – different layout for smartphone #1400530

    well – i do not see your page – but on the demo page with left and right list :
    you had to know how you like to have the left right big lists.
    I would bring them all to the left side in responsive case:
    ( maybe some more important settings are neccessary )

    @media only screen and (max-width:989px) {
      .avia-icon-list.avia-icon-list-left.av-iconlist-big .iconlist_icon {
        float: none;
        margin-bottom: 25px;
      }
    
      .avia-icon-list.av-iconlist-big .iconlist-timeline {
        display: none
      }
    
      .avia-icon-list.avia-icon-list-right.av-iconlist-big .iconlist_icon {
        float: none;
        margin-bottom: 25px;
        margin-right: 30px;
        margin-left: 0px !important; 
      }
    
      .avia-icon-list.avia-icon-list-right.av-iconlist-big .article-icon-entry * {
        text-align: left !important
      }
    }
    in reply to: Logo Area split – only half transparent #1400527

    kannst du mal das merging ausstellen, dann kann man das css besser untersuchen.

    Edit: aha – du hast oberhalb des Sliders einen p-tag mit einem Span drin.: Klasse:
    <span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>

    der ist in der englischen Version nicht vorhanden. Wenn Du ihn da auch benötigen solltest, kannst du das auf eine höhe Null setzen und auch dass margin herausnehmen das ein p-tag defaultmäßig hat.

    #top #main > p {
      height: 0px !important;
      margin: 0px !important;
    }

    dann fällt mir auf, dass Du wahrscheinlich versucht hast den fixed header bei mobile beizubehalten. Da stimmt auch was nicht. Schau mal hier:
    https://kriesi.at/support/topic/sticky-header-mobile-not-working/#post-1400107 und folgende
    da solltest du aber erst mal die Code ( vor allem das padding-top für #main überprüfen ob es nicht aus deinem bestehenden Code raus muss.

    in reply to: Logo Area split – only half transparent #1400488

    if you are allowed to post the link to public – let me see – this seems to be an interesting riddle.
    ist es diese apotheken seite ?

    on the page something has gone totally out of control.
    I would first deactivate all plugins and see if something changes. Because there is something hugely wrong. Take a look at the head area on your page with the developer tools. Is then everything so far in fine from the look of the page, then gradually re-enable the plugins individually.

    in reply to: subheading added to magazine #1400443

    just a little off topic Mike – for what is the if clause in the snippet? The docu and the snippet i use always is without that if clause:
    Docu-Link

    in reply to: Widget title colors #1400435

    you got on your child-theme – guess quick css a rule concerning to widget with important setting. so you had to be more specific on that new rule:

    #footer .widget .widgettitle {
      color: #0026ff !important;
    }

    BUT: go and have a look to your !important settings – has to be before the ending semicolon !

    your rules :

    #footer .widgettitle {
     color:#def1dc;  !important
    }
    
    #footer .widgetfont {
     color:#def1dc;  !important
    }


    and btw:
    widgetfont is not a used class on enfold

    are not well noted – i do not know if this will destroy some of the following rules – but remember to correct them

    you mean this link. Not for those who are familar with having customised alb elements in child-theme.

    • 1) you must declare a folder where those edited child-theme alb elements will be found
      that is the snippet for child-theme functions.php that i posted on the link – and could also be found on Enfold Docu: Add Elements to ALB
    • 2) oh how nice : all changings are made by another participant to download : Download
    • 3) follow those instructions where to upload via ftp : enfold-child/shortcodes folder
      this does not exist per default – so if not – create one.
    • 4) refresh all merging and caching – test it

    Quit simple as ABC

    in reply to: Header Background-Color Change on Scroll #1400388

    and think of the time when this is posted – some events are deprecated now – so maybe it has to be now: $(window).on( 'scroll' ,function() {
    sometimes it is better to have : .bind('scroll', function() {

    or see here a sidebar that is sticky – till the end of the scroll column is reached.
    https://webers-testseite.de/sticky-sidebar/

    but this has only a good look for non responsive cases. so the submenu on top will be the best solution i think.

    • This reply was modified 1 year, 11 months ago by Guenni007.
    in reply to: Submenu sticks on mobile #1400351

    aha – ok – then its your turn to find it in the shallows of the source code. ;)

    in reply to: Submenu sticks on mobile #1400335

    this will be not as easy as it sounds – because unfortunately on the one hand in the corresponding css (menu.css) some statements are set to important, which makes an overwriting via quick css impossible, on the other hand there are also some things to change in the script file.

    the whole block : if( burger_menu.is(":visible") ) had to be commented out !

    The possibility now is to have all child-theme files for the menu. And because the css and js files are loaded via menu.php – this had to be substituted too.

    See a working test page: https://webers-testseite.de/transparent-header/

    you can download all files from here:
    https://webers-testseite.de/menu-files.zip
    all files inside this zip comes to your child-theme shortcodes folder ! ( child-theme/shortcodes – if not present allready – create this subfolder )
    If you haven’t still activated the loading of alb via child-theme you had to place this snippet into 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);
    in reply to: Font Issues #1400330

    What Font do you realy need?
    Myriad Pro … light, regular, bold etc. ?

    I would keep my hands off cufonfonts.com. They also offer fonts that are clearly commercial fonts (such as Myriad Pro). The use is therefore illegal. You should therefore either rely on trustworthy sources, or look for a good free alternative to the desired premium font.
    If you own the Myriad Pro – be shure that it includes the webfont too! This is usually not the standard.

    The PTSans seems to be very similar. And you can download it at Google and host the font on your own server.

    in reply to: How to hide Headers and Footers? #1400328

    only for that page:

    #top.page-id-311 #main  {
      padding-top: 0 !important;
    }
    
    #top.page-id-311 #main  main.template-page.content {
      padding: 0 !important;
    }

    if you like to have that on all blank pages – use nikko’s selector #top.blank …

    #top.avia-blank #main  {
      padding-top: 0 !important;
    }
    
    #top.avia-blank #main  main.template-page.content {
      padding: 0 !important;
    }

    ich habe es nie als Problem empfunden einen Shortcode via Text-Alb oder Codeblock Element einzusetzen.
    CF7 bietet mit sinnvollen Plugins – wie Upload oder Conditional Fields einfach so viel mehr Möglichkeiten, dass ich den kleinen Umstand verschmerzen kann.

    CF7 hat eigentlich eine gute Doku. https://contactform7.com/docs/
    allerdings nur auf Englisch – hier mal eine Seite in deutsch: https://www.webtimiser.de/contact-form-7-einrichten/

Viewing 30 posts - 1,981 through 2,010 (of 11,207 total)