Forum Replies Created

Viewing 30 posts - 8,131 through 8,160 (of 11,202 total)
  • Author
    Posts
  • in reply to: Use two different menus on my website #933510

    if these are a lot of pages – quick css code might be extensive
    you can do it via functions.php of child theme too:

    function different_header_appearance() {
    	if( is_page( array( 42, 54, 6 ) ) ){
    	  echo '<style type="text/css">
    		.header_bg { background-color: #fff !important}
    		#avia-menu .avia-menu-text { color: #25604a}
    		.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text { border-color: #25604a !important}
    	  </style>';
    	}
    }
    add_action('wp_head', 'different_header_appearance');

    how complex those if clauses can be see here:
    if ( is_singular( 'event' ) || is_search() || is_category() || is_page() && !is_page(1307) || is_singular( 'portfolio' ) ) etc. pp.

    in reply to: Vertical alignment of Partner Logos #933481

    that will be the best start : try to give the images a unique Appearance.

    on that page here i give to the partner-logo element a custom class
    first is sameheight – second is samewidth
    for the values it depends on the possibility to show the whole image – so on my example it makes no sense to give a width more than 20%
    otherwise the images can not show with proportional aspect ratio.

    https://webers-testseite.de/partner-logos/
    you have to adjust these values to your partner-logos and settings

    .samewidth .slide-entry-wrap {
        display: inline-flex;
    }
    
    .samewidth .slide-entry {
        margin-bottom: 0px !important;
    }
    
    .samewidth img {
        width: 220px !important;
        height: auto;
        position: relative;
        top: 50% !important;
        transform: translateY(-50%);
    }
    
    .sameheight img {
        height: 50px !important;
        width: auto !important;
    }

    on responsive case you see that same height option leeds to some special behavior – it depends on how you like to handle this case what we could do.

    in reply to: Demo Import – how to create such text-files #933126

    thanks – i will have a look to those plugins
    can be closed

    in reply to: Need the option of ID on buttons #932992

    By the way – i see that a fullwidth button gets the id of the title you give to the text of the button !
    See here: https://webers-testseite.de/8-columns/#click-me

    don’t know what happend if there were more than one click-me button

    • This reply was modified 6 years, 11 months ago by Guenni007.
    in reply to: Need the option of ID on buttons #932984

    maybe this is an alternative: i created a hr element with ID option ( in case of whitespace) – you can give the hr the height of 0 (Zero) and the function on the link will set the padding of the surrounding top parent-container to 0 (Zero)
    So you can use this even with sidebar as an anchor link:

    https://webers-testseite.de/edited-enfold-alb-elements/#hr-with-id

    read the workaround on top ( for embedding child-theme shortcodes)

    in reply to: number of enfold licence #932936

    i think you can use those of the closed sites again.
    One site one license.

    By the way i believe too that a multi-site installation only needs one license – allthough there might be more than one site.

    in reply to: Use two different menus on my website #932882

    Well – first of all the landing pages and the other pages are transparent headers.
    So the contact page is the one to turn vice versa ?
    For transparent options on the other page you must have different rules again

    For the logo you had to have the invers logo and to know on what pages this logo and the css underneath you like to have
    for logo you can add this to functions.php of your child-theme:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if( is_page(21) ) {
        $logo = "http://www.domain.com/wp-content/uploads/logoforpage21.jpg"; 
            }
        elseif ( is_page( array( 42, 54, 6 ) ) ) {
        $logo = "http://www.domain.com/wp-content/uploads/logoforpage22.jpg"; 
            }
        return $logo;
    }

    you can do it with the whole bunch of conditional tags

    for css you had to specify this rules to the pages you want them to be changed:

    .header_bg {
        background-color: #fff !important;
    }
    #avia-menu .avia-menu-text {
        color: #25604a;
    }
    .av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {
        border-color: #25604a !important;
    }

    or look on this nice page concerning Enfold: http://graphitivity.com/enfold/docs/logo/

    there is no ID on the topic: Overlap logo and page content – so search for it

    in reply to: Enfold theme add 2 x 1/5 columns with a 2/5 column #932841

    and if you don’t like that the grid-row element is a full-width layout element see here: https://kriesi.at/support/topic/grid-row-not-fullsize-how-to/
    there was a reason for doing it via an additional surrounding container. Making the grid-row smaller and positioning it in the center of the screen was easy – but it is hard to style than the background-color of the space left and right. (Mostly it will be no problem – a lot of users have white / white so no difference is seen. My workaround is for the other cases.

    you see the difference on the last grid-row. which is only styled via:
    https://webers-testseite.de/weber/aaaa/

    .page-id-569 #av-layout-grid-3 {
        max-width: 1310px;
        margin: 0 auto;
        padding: 0 25px;
    }

    if you got a main color different to white – you have the troubles than.

    on that link above you can see the nesting on the right grid as you like it.

    in reply to: Demo Import – how to create such text-files #932666

    are these two files only a combination of theme export from enfold dialog ( but here are widget-settings missing)
    and wordpress export of all data ( this is xml) ?

    in reply to: Demo Import – how to create such text-files #932663

    Yes this are the textfiles here : https://kriesi.at/documentation/enfold/downloads/
    Or is it the same ? i thought this only concerns to styling and quick css.

    Sorry that was misleading my link above
    the demo files included in the includes/admin/demo-files/
    php and xml files as pair for importing – how they were created ?

    in reply to: one Google map marker tooltip at a time #932459

    by the way Josues Code is brilliant – because if you click elsewhere on the map canvas the marker closes too.

    in reply to: Vertical align Title in IconBox #932457

    maybe – best will be to give a custom class to all these iconboxes (your account, services, operations, co-op …)
    i have set the selectivity for now via page id and color-section id

    .page-id-76 #after_section_1 .iconbox {
        display: inline-flex;
    }
    
    .page-id-76 #after_section_1 .iconbox .entry-content-header {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    on smaller screens set back to display: block or do insert to the headings some soft-hyphens with &shy and ;
    sorry board soft will immediatly change the entitie code even if placed in code so &shy with semicolon behind

    in reply to: one Google map marker tooltip at a time #932124

    this is the header option: logo top menu under logo.
    in this case the menu is not part of av-logo-container so it can be set to display: none

    the logo is part of the menu – as a custom link – and than put in navigation-label html code like:
    <img src="url-to-logo.png" alt="Logo" />

    for resposive case you must set this “menu-logo” to display none – and reactivate the av-logo-container.

    The shrinking option is much more complicate. If you like to know it exactly – please open a new topic.
    Tomorrow i have more time to explain it.

    in reply to: one Google map marker tooltip at a time #932107

    the trick is that the code of ismael is absolutely right : but he has forgotten to mention that the one thing has to put globaly on top:

    look on top of the google maps function on shortcodes.js:

    // -------------------------------------------------------------------------------------------
    // 
    // AVIA MAPS API - loads the google maps api asynchronously 
    // 
    // afterwards applies the map to the container
    // 
    // -------------------------------------------------------------------------------------------
    
    (function($)
    {
        "use strict";
          var openedInfoWindow = null;
    
    …

    under the use strict that line: var openedInfoWindow = null; is missing in the info of ismael !

    so :

    on top of the avia map function

    "use strict";
    

    replace with:

    "use strict";
    var openedInfoWindow = null;

    and:

    google.maps.event.addListener(marker, 'click', function() {
                        infowindow.open(map,marker);
                    });

    replace with:

    google.maps.event.addListener(marker, 'click', function() {
                        if (openedInfoWindow != null)
                            openedInfoWindow.close();
    
                        infowindow.open(map,marker);
    
                        openedInfoWindow = infowindow;
    
                        google.maps.event.addListener(infowindow, 'closeclick', function() {
                            openedInfoWindow = null;
                        });
    
                        google.maps.event.addListener(map, 'click', function() {
                            infowindow.close();
                        });
                    });

    see here working example: https://webers-testseite.de/weber/google-map-only-one-marker-open/

    in reply to: how can i delete this line here… #932082

    can you please provide us with a livelink to that page (your domain is well known here on board) so no secrets at all ;)
    then we do not need to speculate what it could be

    if you have each foto in a 1/1 container : each container has a margin-top of 50px:

    body .column-top-margin {
        margin-top: 50px;
    }
    in reply to: how can i delete this line here… #932066

    the border is that 1px border of color-section on default – you can get rid of it on color-section options page.

    in reply to: viewport metatag #931385

    Well you can add to the head section with
    this to functions.php of your child-theme

    add_action('wp_head', 'add_to_head');
    function add_to_head(){
    ?>
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    	<meta name="description" content="best not more than 140letters">
    	<meta name="keywords" content=" seperated by commata ">
    	<link rel="shortcut icon" type="image/x-icon" href="/wp-content/uploads/icons/favicon.ico">
    	<link rel="apple-touch-icon" href="/wp-content/uploads/icons/apple-touch-icon.png">
    <?php
    }

    everything like description is that you see in search on google under the url ( Real sentences with not more than 140 letters)
    or keywords are the tags you look for – separated via commata
    and viewport too

    in reply to: Single event title in Events Calendar H2 instead of H1 #930681

    maybe you got a livelink? because tribe events got a lot of view possiblities with each single-event.php ( lists, day, month, etc)

    in reply to: Single event title in Events Calendar H2 instead of H1 #930672

    Well i think it is in :
    single-event.php template.
    Look for :

    <?php the_title( '<h2>', '</h2>' ); ?>

    i try to find a child-theme solution now – but meanwhile you can change it here quick and dirty

    btw: on non pro version the actual version has:

    <?php the_title( '<h1 class="tribe-events-single-event-title">', '</h1>' ); ?>

    so it might be on actual version the h1 ( but couldn’t serve this into troubles if you using f.e. a masonry of envents ? – than you will have multipel h1 on one page – and that is against good seo rules)

    in reply to: bwp minify and "remove query strings from …" #930635

    i have tested it on some customer installations. Some ISP gets Problems with it – so test it with a backup of the old unedited class-bwp-minify.php in backhand.

    in reply to: where can i find the js folder for iconlists? #929781
    in reply to: Light version of google fonts #929395

    and do not use the rule “lighter”
    set font-weight to 300

    body#top {
        font-weight: 300;
        font-family: 'Hind', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    __________________

    Edit – here because topic is closed !

    i think there has to be something wrong.

    I do activate the hind font locally on a test page –
    the 300er font-weight is a bit thinner than the 400.

    Compare the justified text-blocks under “Leistungen” and “Scanservice”
    https://webers-testseite.de/guenterweber/

    • This reply was modified 6 years, 11 months ago by Guenni007.
    in reply to: Light version of google fonts #929393

    if you have here on content font hind defined as the font to use – you don’t need to determine it again in quick css !

    in reply to: Light version of google fonts #929387

    have you a link to the site?

    in reply to: Light version of google fonts #929386

    or you can activate it via : (EDIT you do not need it if you have set it as content font in enfold options )

    add_action('wp_head', function() {
    ?>
      <link href='http://fonts.googleapis.com/css?family=Hind' rel='stylesheet' type='text/css'>
    <?php
    });
    in reply to: Light version of google fonts #929377

    read the edit above i wrote something additional

    but you should know that if you like to have it only for some css rules – the font isn’t activated till you use it in enfold options dialogs.
    If you don’t want to use it as content font globaly – you can define it for example as h6 in advanced styling. this starts the activation of the font. the code above only makes it selectable in fonts choice.

    after that you can define css rules with font-family : hind

    in reply to: Light version of google fonts #929372

    down the second rule about content fonts:
    each of them needs the return $font

    return $fonts;
    }

    but you should know that if you like to have it only for some css rules – the font isn’t activated till you use it in enfold options dialogs.
    If you don’t want to use it as content font globaly – you can define it for example as h6 in advanced styling. this starts the activation of the font. the code above only makes it selectable in fonts choice.

    in reply to: Light version of google fonts #929363

    the code above isn’t complete:

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Hind'] = 'Hind:300,400,700';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Hind'] = 'Hind:300,400,700';
    return $fonts;
    }
    in reply to: Footer Copyright in 2. Sprache #929142

    also mein weg oben ja? – es ist immer schön eine Rückantwort zu bekommen. Nicht für das Danke das es geklappt hat, sondern ich kann es dann aus den Topics nehmen die ich für einen Nachbearbeitung in der Liste habe.
    Viel Erfolg – sieht toll aus die Seite – und vor allem auch das was es beschreibt. Macht richtig lust mal wieder in den Bergen Urlaub zu machen.

    • This reply was modified 6 years, 11 months ago by Guenni007.
Viewing 30 posts - 8,131 through 8,160 (of 11,202 total)