Forum Replies Created

Viewing 30 posts - 8,191 through 8,220 (of 11,475 total)
  • Author
    Posts
  • well if you only have one page get rid of array. – and btw. i think there is one round bracket missing

    if(is_page(array(23))){
    but try 
    if(is_page(23)){

    Dear Bakbek – i’m a Participant as you – i can help if i can see f.e. a testpage or a link.
    If your website has to be secret for the public here, then you only have to wait for a mod.
    For me it only works with the left: 50% rule – but i do not see your setup.

    in reply to: Open Sans Font #943128

    by the way – think of performance!

    and if your are satisfied with only that font – maybe it is a good idea to load it localy from your servers !
    https://www.smashingmagazine.com/2014/09/improving-smashing-magazine-performance-case-study/
    Smashing Magazine did notice up to 700ms pagespeed on loading fonts localy!
    Here is a liitle workaround with a small plugin to load google fonts local.:
    https://kriesi.at/support/topic/disable-google-font-loading-via-google/
    ( maybe this is better for DSGVO – GDPR too ) no google servers at all in that case.

    in reply to: Open Sans Font #943121

    and by the way – try it without that plus sign between font name:
    (you don’t need the italic fonts ?)

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:300,400,600,700,800&subset=latin-ext';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:300,400,600,700,800&subset=latin-ext';
    return $fonts;
    }
    in reply to: Automatically add current year to copyright in socket #943093

    do this to functions.php of your child-theme:

    function year_shortcode() {
      $year = date('Y');
      return $year;
    }
    add_shortcode('year', 'year_shortcode');

    after that you can input in the footer copyright field:

    © Copyright - [year] - Company Name  [nolink]
    

    mobile devices will have on html the class: avia_mobile
    so you can try this:

    .avia_mobile #menu-item-search {
        display: none  !important;
    }
    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Social Icons in the Footer #943049

    ah – one thing to mention is : because of the inserted top container there is the scroll offset wrong on mobiles:

    this will correct it for you:

    .html_header_top.html_header_sticky.avia_mobile #main {
        padding-top: 130px;
    }
    in reply to: Social Icons in the Footer #942845

    i do not see the english version of firefox yet – just a moment:

    try: alt cmd M – it is in Extras / Web Developer /

    in reply to: Social Icons in the Footer #942828

    on firefox there is a nice tool to view screen width and devices : so you see yourself that the css code is important for ipad 2 etc on landscape view:

    click to enlarge

    in reply to: Social Icons in the Footer #942824

    i wrote it in the topic above:

    take the new code:

    add_action('ava_main_header', function() {
    if(wp_is_mobile()){
      echo '<div id="button-on-top">';
      echo do_shortcode("[av_button_big label='100% Donation Policy' description_pos='below' link='manually,https://mydonate.bt.com/events/unite4humanity/461708' link_target='_blank' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='custom' custom_bg='#b02b2c' color_hover='custom' custom_bg_hover='#106736' custom_class='' admin_preview_bg=''][/av_button_big]");
      echo '</div>';
    }
    });

    and to have not the donate button on menu ( for those mobiles with bigger screen sizes as 768/990px : ipad, ipad2 etc on landscape view) put this in quick css:

    .avia_mobile #menu-item-668 {
        display: none;
    }
    in reply to: Social Icons in the Footer #942820

    just change code from above – because there is the wp_is_mobile check addition

    in reply to: Social Icons in the Footer #942817

    don’t forget the css in quick css:

    
    #top #button-on-top  .avia-button-fullwidth {
        padding: 20px 0px;
    }
    #button-on-top .avia_iconbox_title {
        font-size: 20px !important;
    }
    

    and :

    add_action('ava_main_header', function() {
    if(wp_is_mobile()){
      echo '<div id="button-on-top">';
      echo do_shortcode("[av_button_big label='100% Donation Policy' description_pos='below' link='manually,https://mydonate.bt.com/events/unite4humanity/461708' link_target='_blank' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='custom' custom_bg='#b02b2c' color_hover='custom' custom_bg_hover='#106736' custom_class='' admin_preview_bg=''][/av_button_big]");
      echo '</div>';
    }
    });

    you see the label= that is the text in the button
    you see that in the code are custom_bg color and color_hover (hex-codes) so you can change yourself.

    and if this fits for you – it makes no sense that you have on mobile this donate menu button:

    .avia_mobile #menu-item-668 {
        display: none;
    }
    in reply to: Social Icons in the Footer #942807

    isn’t it what you got ! before ???

    this is under the header ( i changed the div to have an id too)

    add_action('ava_after_main_title', function() {
      echo '<div id="button-on-top">';
      echo do_shortcode("[av_button_big label='Donate' description_pos='below' link='manually,https://mydonate.bt.com/events/unite4humanity/461708' link_target='_blank' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='custom' custom_bg='#b02b2c' color_hover='custom' custom_bg_hover='#106736' custom_class='' admin_preview_bg=''][/av_button_big]");
      echo '</div>';
    });
    in reply to: Social Icons in the Footer #942800

    can you please insert this into functions.php of your child-theme:

    add_action('ava_main_header', function() {
      echo '<div class="button-on-top">';
      echo do_shortcode("[av_button_big label='Donate' description_pos='below' link='manually,https://mydonate.bt.com/events/unite4humanity/461708' link_target='_blank' icon_select='no' icon='ue800' font='entypo-fontello' custom_font='#ffffff' color='custom' custom_bg='#b02b2c' color_hover='custom' custom_bg_hover='#106736' custom_class='' admin_preview_bg=''][/av_button_big]");
      echo '</div>';
    });

    and this to quick css

    #top .av-fullscreen-button .avia-button-fullwidth {
        border-radius: 0;
        padding: 30px 0px;
    }

    maybe this looks better even on desktop if it is on top

    in reply to: Youtube shortcode #942758

    i do alway add the same thing as options behind the embed code – and that is very simple –
    and we can insert a shortcode nearly whereever we want

    in reply to: Background image problem on ipad #942753

    i recognized this as the nice demo was new : https://kriesi.at/themes/enfold-visual-artist/

    the only thing to accomplish on this was for me to have background scrolls.
    See here my workaround – it is a bit complex – yes but at least to see the pictures and not just the background color that was a workaround.
    First ( i described it at that page – i thought i set it via jQuery to background-attachement scroll – but this way does not work.)

    See the story here: https://kriesi.at/support/topic/playing-with-new-demos/#post-871865

    and my visual artist settings here: https://webers-testseite.de/elegant/
    by the way this was an experimental site with a lot of clip-path testings.

    If you can life with a background image scroll effect – this will be the simple way to have images on ipad in the background
    it is allway a trouble with fixed positioning

    • This reply was modified 7 years, 2 months ago by Guenni007.

    well as a participant as you are i do not see the private content – but it comes from the media query rule :

    @media only screen and (max-width: 767px) {
    .responsive #top .logo {
        display: table;
    }
    }

    try to set this in quick css ( guess an !important is necessary )

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

    you can see here a testpage: https://webers-testseite.de/cynthia/unite4-2/

    in reply to: Change icon box title #942742

    this rule comes from shortcodes.css – but if you want only influence f.e. iconboxes with top icon we have to be more specific:

    .iconbox .iconbox_content .iconbox_content_title {
        text-transform: none !important;
    }

    otherwise f.e. if you like only to have that for icon on top:

    .iconbox.iconbox_top .iconbox_content .iconbox_content_title {
        text-transform: none !important;
    }

    try first without important ( this should always be an exception) – but sometimes it is necessary

    Postscriptum: are you chemistry ? is it a buckminsterfullerene?

    in reply to: Social Icons in Mobile Menu #942566

    Each solution –
    prependTo and appendTo has its own css rules
    you have now to many padding-left rules in there ( even for social icon 2 and 3 )
    once you like it up now you like it down – but then you have to get rid of the other css rules .
    I’ll wait and see how you decide now. Because the constant back and forth is not fun for me either

    in reply to: Social Icons in Mobile Menu #942561

    sorry there was an orthographic error on my code above it is appendTo . ( double : pp )

    so in Ismaels code it is in case of social media at the bottom of hamburger:

    $(socialString).each(function() {
    	$(this).appendTo('#av-burger-menu-ul');
    });

    and because in case of appending the sequence is 1,2,3,4 etc
    the one css rule has then to be:

    #av-burger-menu-ul li.social_icon_1 {
     padding-left: 40px
    }

    because that is the first to come after menu.
    On top there is the first in the row the last of the social_icons ( in your case social_icon_4)

    in reply to: I want the demo Freelance just for one page #942533

    one thing to mention: the cells with content (not the one with the background images)
    you have on grid row the options for grid-row itself –
    and than the options for each cell – on that free lancer demo there are these cell options set to vertical align : center

    and another one – think of background-image placement: it is in relation to screen window – not to cell size.
    So if you have a cell on the right side with a background-image place it top-right etc.

    in reply to: hreflang (it) + (en) for the home page #942522

    i do not have any polylang on my testing pages.
    The head is on my opinion correct – the thing is that the page is redirected via 302
    better would be to get rid of my code above and look into polylang settings if there is any chance to manage that.

    i don’t know why polylang sets here a 302 redirect.

    Edit: there must be a checkmark for: “Hide URL language information for default language”
    than the x-default isn’t set – and i guess that should be the setting you have to choice .

    ON may WPML i can set f.e. the root url is german – and the other languages are /en, /it etc.
    In this case it makes sense that i have x-default.

    so checkmark for: “Hide URL language information for default language” and look what happens in your testing page

    in reply to: I want the demo Freelance just for one page #942518

    this is made via alternately Grid Row ( 1/2 1/2) Elements – first is with transparency options.
    The images are made as background-images – some with fixed positioning.

    As an ALB Element where you can place other ALB Elements ( like in color-section) you can drag&drop every (accept color-section) other ALB Element in the Cells.

    Thats all – no magic

    in reply to: General styling issue on multilangiage site (WPML) #942508

    i use WPML myself and the styling for each language is in my opinion a feature and not a bug.
    the thing is that the whole enfold option page is per language.
    So my advice is to make first all of the styling and then the content in different languages.

    F.e if you put in the quick css of your page ( english Version) some entries – these entries aren’t automatically added to the other languages.
    So if you like to have overall the same styling – and f.e. your are satisfied with the english version go and export on the englisch Enfold Options Page the theme-settings file.
    Switch to the other languages and import that file for each language.

    This is as i said for me a feature – because e.g. i can have a turkish and a german version of one site. the turkish prefer to have saturated colors on the other hand, germans like harmonious colors. ( please no generalization – but on the whole this might be true – see some turkish newspapers )
    So the one could have high color contrast – the other not.
    Same with font-family etc.

    in reply to: Social Icons in Mobile Menu #942478

    @project_co_uk : for you it must be (if social_bookmarks are on top)

    you have to erase the rule for

    #av-burger-menu-ul li.social_icon_1 {
     padding-left: 40px
    }

    and then :

    #av-burger-menu-ul li.burger-social {
        float: left;
    }
    
    #av-burger-menu-ul li.burger-social a {
        padding: 10px !important;
        border-bottom: none !important;
    }
    
    #av-burger-menu-ul li.social_icon_4 {
     padding-left: 40px
    }
    
    #av-burger-menu-ul .av-active-burger-items:not(.burger-social) {
        clear: left;
    }
    
    .burger-social a {
        width: 50px;
    }
    
    .burger-social a::before {
        left: 15%;
        position: relative;
    }
    
    #av-burger-menu-ul .av-social-link-facebook.burger-social a:hover {color:#fff !important; background-color:#37589b !important }
    #av-burger-menu-ul .av-social-link-twitter.burger-social a:hover {color:#fff !important; background-color:#46d4fe !important }
    #av-burger-menu-ul .av-social-link-youtube.burger-social a:hover {color:#fff !important; background-color:#a72b1d !important }
    #av-burger-menu-ul .av-social-link-instagram.burger-social a:hover {color:#fff !important; background-color:#a67658 !important }
    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Social Icons in Mobile Menu #942471

    there must be additional settings concerning to your hover on hamburger menu in your page.

    by the way if there is a prepend ( social_bookmarks on top) then the order is reversed.
    Means on the left there is the last icon and on the right the first :

    So my code above must be changed to the last ( it there are 3 icons ):

    #av-burger-menu-ul li.social_icon_3 {
     padding-left: 40px
    }

    why the first menu point is on the same place i will have a look – but i guess it maybe only a clearing issue.
    edit:

    #av-burger-menu-ul .av-active-burger-items:not(.burger-social) {
        clear: left;
    }
    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Style All Headings like "Modern" in Special Headings #942460

    no Nikko – that would be not enough. Because i think he likes to transform all headings to (f.e. a h3 standard heading – with that small line besides) to modern style (without that line). ( And styling is not implemented in headings advanced styling options)

    If it is only that line that disturbed him – that was easy to get rid of

    you can set all headings as Nikko said on that advanced styling to font-weight : normal (300) or you put this to quick css

    .av-special-heading-tag  { font-weight: 300} 
    .special-heading-border { display: none}

    maybe an !important on font-weight is necessary

    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Page shouldn't be scrollable when lightbox is opend #942459

    yes that is the line above from shortcodes.js and its calculation. it adds that css if window height is smaller than the sum of the other heights

    in reply to: Social Icons in the Footer #942284

    see post there – i answered on that thread

    you can see result here – dont know why on your site the hover effect is like it is:

    https://webers-testseite.de/weber/

    • This reply was modified 7 years, 2 months ago by Guenni007.
    in reply to: Social Icons in Mobile Menu #942277

    do this in quick css:
    and have a look:

    #av-burger-menu-ul li.burger-social {
        float: left;
    }
    
    #av-burger-menu-ul li.burger-social a {
        padding: 10px !important;
        border-bottom: none !important;
    }
    
    #av-burger-menu-ul li.social_icon_1 {
     padding-left: 40px
    }

    but i think this looks better if you do not prependTo but apendTo
    here:

    $(socialString).each(function() {
    				$(this).appendTo('#av-burger-menu-ul');
    			});
Viewing 30 posts - 8,191 through 8,220 (of 11,475 total)