Forum Replies Created

Viewing 30 posts - 4,741 through 4,770 (of 11,513 total)
  • Author
    Posts
  • in reply to: Phone number input does not show ! #1244702

    all those input fields are set on register-admin-options.php
    lines 4598ff for phone
    lines 4783ff for copyright

    have a look if these entries are there.
    Or have a look if you have on your parent theme functions.php at the end since line 834ff just before
    require_once( 'functions-enfold.php'); some code that could influence the admin area like:

    function admin_head_mod() {
      echo '<style type="text/css">
      … some css settings for the admin area
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    in reply to: Internal Links to sections #kontakt dont work #1244598

    Yes – you are playing with different sections on that to reach the sequence first contact form – than the map.
    Your ID= termin is set to display none on small screens by yourself.
    (done by alb options – screen options ___ im Alb Selber unter Erweitert: Element Sichtbarkeit gesetzt )
    So where should the scroll go to?

    you can reach that reverse order by css only

    @media only screen and (max-width: 767px) {
    	#termin {
    	  display: flex !important;
    	  flex-flow: row wrap;
    	  justify-content: space-between;
    	  align-items: stretch;
    	}
    
    	#termin .flex_cell:nth-of-type(1) {
    	  order: 2;
    	}
    }

    PS: warum ist es einmal in der Mitte platziert, und einmal am Ende?
    Ich würde den “Termin” generell für beide Fälle nach unten nehmen.

    in reply to: Phone number input does not show ! #1244242

    this makes me wonder because on default the phone-info field is represented by a class: phone-info
    i do not see your private content – because i’m participant as you are – so i could not give you better instructions to find the reason.

    Maybe you have a look to your child-theme functions.php if there are entries concerning to phone or copyright.

    in reply to: Diacritics in Image Alt text description #1242748

    what if you use html entities for them: http://unicode.e-workers.de/caron.php
    Ž
    see here for example : https://webers-testseite.de/lightboxes/
    4th image on top : flowers 2 – click to see the lightbox image with alt text under it.

    you have on that page with html entities a colored box on the bottom where you can choose groups to see like caron or Diaeresis ( Trema )
    or language specific sortings

    in reply to: How to show avia layout builder items bigger #1242430

    here you can see what for the single rules are:

    // im Admin bereich das Eingabefeld des quick css verbreitern
    function admin_head_mod() {
      echo '<style type="text/css">
      #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%} /** quick css input field width **/ 
      #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important}   /** quick css input field width **/ 
      .avia_footer_links li {float: left;padding-right: 20px}
      .avia_footer .avia_footer_save {float: left}   /** save button now on the left **/
      .avia_reset {display: none !important }  /** remove reset Button on Enfold Options **/
      #avia_options_page { max-width: 3000px!important}  /** Optionswidth  **/
      .avia-modal-toggle-container.avia-modal-toggle-ready.avia-modal-section_headers a.avia-modal-toggle-title { padding: 2px; margin: 3px 12px; font-weight: normal; background: #a3c0ed}  /** toggle headings **/
      .shortcode_insert_button { height: 100px; width: 140px;}  /** the shortcodes insert buttons on alb **/
      .shortcode_insert_button img { opacity: 1; width: 60%;}  /** the shortcodes insert buttons image on alb **/
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');
    in reply to: How to show avia layout builder items bigger #1242429

    I believe that Nikko’s approach is the best method for someone with reduced visual acuity. Everything is enlarged, so that the fonts etc. are also easier to read.

    But if you like to enlarge only those alb sings you can input some css to the admin area by child-theme functions.php
    this is a kind of standard ( without your alb settings) that i often use with enfold:

    // im Admin bereich das Eingabefeld des quick css verbreitern
    function admin_head_mod() {
      echo '<style type="text/css">
      #avia_quick_css .avia_description {float: none;margin-bottom: 20px !important;padding-left: 0 !important;width: 98%}
      #avia_quick_css .avia_control {float: left;max-width: 98% !important;width: 98% !important}
      .avia_footer_links li {float: left;padding-right: 20px}
      .avia_footer .avia_footer_save {float: left}
      .avia_reset {display: none !important }
      #avia_options_page { max-width: 3000px!important}
      .avia-modal-toggle-container.avia-modal-toggle-ready.avia-modal-section_headers a.avia-modal-toggle-title { padding: 2px; margin: 3px 12px; font-weight: normal; background: #a3c0ed}
      .shortcode_insert_button { height: 100px; width: 140px;}
      .shortcode_insert_button img { opacity: 1; width: 60%;}
      </style>';
    }
    add_action('admin_head', 'admin_head_mod');

    it removes the reset button – that it can not be used accidentically.
    it enlarges the Enfold Options Screen in its width.
    The Quick css Input field is set to 98% width of that container.
    it highlighted the “toggle headings” but make them smaller

    The shortcode_insert_button are now unfortunately only available in 40×40 resolution, which makes them blurred by enlarging them.

    in reply to: Change background #1242282

    the breadcrumb belongs to the alternate color – so try this:

    .container_wrap.alternate_color {
        background-color: #f5eed9 !important;
    }

    PS : maybe you decide to break the menu earlier to hamburger menu – because on smaller screens the menu overlaps the logo.
    and maybe you like to have the logo and main menu on Enfold Options : header – header behavior : “Let logo and menu position adapt to browser window” – then you will not come as soon into conflict with the menu overlapping the logo.

    in reply to: Secondary menu align center in topbar #1242275

    try this on quick css :

    @media only screen and (min-width:768px) {
    	.av_secondary_right .sub_menu {
    		float: left;
    		position: relative;
    		left: 50%;
    		-webkit-transform: translateX(-50%);
    		transform: translateX(-50%);
    	}
    }

    maybe an !important might be necessary on the given rules like float or positon.

    in reply to: Logo resizes on its own #1242274

    The limitation to the outer dimension from 300px to 100px can be changed via Quick css or by selecting the header height.
    When inserting the logo, did you pay attention to the calculated size of the file you are using? :

    thanks Ismael – i now read on a page that:

    If the settings under: Dashboard – Settings – Reading-Settings : “Your homepage displays” are left at default then the home page will return true for both is_front_page() and is_home()

    so this was the fact on that test page – i do not know why the setting has been done – because i do always set the “home” only on Enfold Options Dialog.
    If it is set on that Settings-Page is_front_page() is for both true – is_home() is only true for post-list (posts-page).

    That was new to me that there is that dependency if it is set or not on : Dashboard – Settings – Reading-Settings : “Your homepage displays”
    Or over the customizer : Homepage setting.

    • This reply was modified 4 years, 10 months ago by Guenni007.
    in reply to: How can I require at least one checkbox to be checked #1241511

    must have been very urgent ;)

    in reply to: Individual ID for buttons in button row #1241510

    for more than one button row on the site:

    function id_to_button_row_buttons(){
    ?>
    <script>
    (function($) {
    	$('.avia-buttonrow-wrap').each(function(){
    		var that = this;
    		$('.avia-button', this).each(function(i){
    			var ButtonRowID = $(that).attr('id');
    			$(this).attr('id', ButtonRowID+'-button'+(i+1));
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action( 'wp_footer', 'id_to_button_row_buttons');

    see here: https://webers-testseite.de/buttonrow/

    in reply to: custom styling buttons in buttonrow #1241484

    i do not see private content – because i’m participant as you.

    But on that topic only one button row is used – i changed code to a nested each function ( with nice use of this ;) )

    function id_to_button_row_buttons(){
    ?>
    <script>
    (function($) {
    	$('.avia-buttonrow-wrap').each(function(){
    		var that = this;
    		$('.avia-button', this).each(function(i){
    			var ButtonRowID = $(that).attr('id');
    			$(this).attr('id', ButtonRowID+'-button'+(i+1));
    		});
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action( 'wp_footer', 'id_to_button_row_buttons');
    in reply to: Hamburger Menu Positioning #1241477

    have you ever tested your hamburger menu?
    on my end it does not open!

    the whole responsive case is in a mess – sorry to say that.

    in reply to: Add search icon to footer navigation #1241307

    first i do not see the input when i click the magnifier symbol for wide screens – because you have in your css a rule:

    #top  #searchform {
        display: none !important;
    }

    and that hampers to show the input form !
    I know that you want to replace the search there for smaller screens but duplicate ID’s are not good html.

    to avoid duplicate IDs add to the code above: $('#menu-menu3').find('form').attr('ID', 'searchform-2');

    so that there is then:

    function shift_search_icon(){
    ?>
    <script type="text/javascript">
    (function($){
    	$('#avia-menu').find('#menu-item-search').clone().appendTo('#menu-menu3');
    	$('#menu-menu3').find('form').attr('ID', 'searchform-2');
        $('#avia-menu').find('#menu-item-search').remove();
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'shift_search_icon');

    you only had to set the css then for it to:

    #top #searchform-2 {
        margin: 0;
        padding: 0;
    }
    in reply to: Optimum Size for Logo #1241170

    i would take on that logo a vector based image like svg:
    The font ? maybe Troy or Mastro Sans – i think and the sign is a fibonacci spiral
    If you tell me what font it is – it is easy to get the svg for it.

    e.g.: like this – I have narrowed the Fibonacci spiral inwards, that looks better. : Link

    PS: due to the poorer resolution of a png I can’t quite see where you went through the Fibonacci sequence – I think I drew a few more arcs.

    in reply to: Where Logo in theme stored? #1241005

    to replace the login logo ( and replace the back link of that logo ) – and to have a background setting on that too:
    you can do this on child-theme functions.php:

    and before the style is set use ismaels snippet to get the url of the logo:

    function my_login_logo(){ 
    $logo = avia_get_option('logo'); 
    ?>
    <style type="text/css">
            #login h1 a, .login h1 a {
                background-image: url(<?php echo $logo; ?>);
                height: 100px;
                width: 300px;
                background-size: contain !important;
                background-repeat: no-repeat;
            }
            body.login {
                background-image: url(/wp-content/uploads/LOGIN-BG.jpg) !important;
                background-repeat: repeat;
            }
    </style>
    <?php 
    }
    add_action( 'login_enqueue_scripts', 'my_login_logo' );
    
    function custom_loginlogo_url($url) {
      $url = get_site_url();
      return $url;
    }
    add_filter( 'login_headerurl', 'custom_loginlogo_url' );
    

    you had to find your best dimensions on width and height above

    see here: Link

    @dumdeldidum: Ok – OK – but even if my solution leads more easily to success?
    After all, with the pre-selection via this filter, Enfold has set all responsive settings.
    By the way, you don’t write about a content width at the top.
    __________

    @ismael

    i know that and wrote that the page on that test page set as “home” page is a static page so is_home() had to work.
    But it does not. So that was my question:

    i am always grateful for a link to work on concretely.

    1) if you have them in 1/2 column : set them to equal height then there will be a “Vertical Alignment” Option – set it to middle

    2) best would be to have a custom-class on those galleries you like to influence in that way.

    but to see how it looks like – put this to your quick css:

    .avia-gallery .avia-gallery-thumb {
        display: flex !important;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    play with the justify-content value : center, space-around, space-evenly
    to see the difference

    By the way dear mods – why does is_home() not working on my test page on that ???
    It is a static page – but does not work – only is_front_page() works ?
    Does Enfold setting of the front-page not influence the home setting?

    you can try it without css settings – so remove the settings from above and see if this will better fit to your needs
    – well i first thought we can do this via child-theme functions.php :

    function av_change_header_layout($header){
        if(!is_front_page()){
          $header['header_custom_size']   =  '45';
          $header['header_shrinking']   =  'disabled';
          $header['header_class'] .= " av_header_shrinking_disabled";
        }
        return $header; 
    }
    add_filter('avf_header_setting_filter','av_change_header_layout');

    but the shrinking disabled does not work – i do not know why?

    but the other way round works

    :
    Set the options like you want to have it for all pages ( but take custom value 45px and non shrinking header )
    then this on child-theme functions.php:

    function av_change_header_layout($header){
        if(is_front_page()){
          $header['header_custom_size']   =  '150';
          $header['header_shrinking']   =  'header_shrinking';
          $header['header_class'] .= " av_header_shrinking";
        }
        return $header; 
    }
    add_filter('avf_header_setting_filter','av_change_header_layout');

    if you like to include another page to that settings – use a page array or any other conditional tags : https://codex.wordpress.org/Conditional_Tags

    • This reply was modified 4 years, 10 months ago by Guenni007.
    in reply to: Enfold Layer Slider Translation #1240370

    i always did it this way:
    have a copy for the native language – then translate the layers manually in that copy – and place on the other language that copy. thats all – no plugin needed.

    in reply to: custom styling buttons in buttonrow #1240308

    on a button alb you have more styling options even for hover style –
    but if you like to have it for button-row – you can select the buttons in a button-row by counting them and select via :nth-of-type(2) etc.

    .avia-buttonrow-wrap .avia-button:nth-of-type(1) {
    … some css rules
    }

    or you follow this topic here to have for each button in a button-row a unique ID:
    https://kriesi.at/support/topic/individual-id-for-buttons-in-button-row/#post-1232985

    in reply to: custom styling buttons in buttonrow #1240304

    you can style them – but you can use buttons too for that.
    To have them beside each other – only a display behavior must set on this
    see here an example page for button styling ( even the look is styled there but important for you is that you have button alb and can style each button on it self) put all your buttons ( aligned center ) in a common container and give a custom class to it – rest on that example page:
    https://webers-testseite.de/buttons/

    the four buttons on that page looks this way in the layout:

    in reply to: Partner/Logo Element – SVG's not showing #1240301

    Give an absolute width (or height) to them not a relative like auto or %
    it could be a very big value – the rest will be done by display options of the surrounding container.

    f.e. :

    img[src*=".svg"] {
        width: 2500px;
        display: block;
    }
    in reply to: 2 logo's showing on scroll #1239746

    no private content for me – because i’m participant as you are.
    Please excuse the delayed reaction, sometimes I also have to work and satisfy my own customers.

    so again my question : my testpage ( https://webers-testseite.de/cynthia/tuddal/ )
    is it the way it should work? Or does your customer have other demands?
    See also now the responsive case and behavior of the logo and the other heading links

    in reply to: 2 logo's showing on scroll #1239051

    The above is not all you need – but an overview what is the clou on it.
    There’s a lot to do. Some in the child-theme functions.php and then in quick css. Whereby you have to find out what needs to be removed from the one set so far.
    I just wait and see if there is still interest in the solutions. Unfortunately it was more often the case that I wrote some detailed descriptions with pictures and then suddenly another solution, e.g. a different header constellation, was used.

    in reply to: 2 logo's showing on scroll #1238428

    Later today I will show you how I have implemented the result. Basically it is the integration of the “logo” into the calculation routine of the shrink script.
    We will add your Logo not by having a menu list point in the top-menu but only by placing it via child-theme functions.php and absolute positioning.
    And this will be the only logo you need for that.
    On your page you beginn the logo height at 300px – and it should end at 66px – so shrink-factor is 4.545
    you can see here what we need to obtain that in the avia-snippet-sticky-header.js : https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/#post-1044887
    With that shrinkfactor we can calculate the two values to influence in the shrink script. The only the thing to do in this script will be the integration of the new “toplogo” to that calculation. No panic i will send you the edited script-file: https://pastebin.com/gi40An1c
    Download-link: https://pastebin.com/dl/gi40An1c

    But for now enough – detailed info later! IF – you are interested in that solution

    in reply to: 2 logo's showing on scroll #1238046

    what was the source for those png’s ?
    Do you have any illutrator files of that file – or an eps – sometimes eps are vectorbased too.

    but if there is no vectorbased source on that – it will work because the letters are under that logo sign.
    So when setting the header-scrolled to overflow: hidden it will do the job too:
    See example page.

Viewing 30 posts - 4,741 through 4,770 (of 11,513 total)