Forum Replies Created

Viewing 30 posts - 10,501 through 10,530 (of 11,475 total)
  • Author
    Posts
  • in reply to: Single toggles besides (sibblings) each other #669942

    hi josue

    the functions.php – works well on that but now i want to influence the color of the activeTitle too!
    the active Title on the page has got the Class: activeTitle
    how do i get rid of that similar to active_tc ?

    Thanks – i guess Josue knows how :wink

    PS : i think the line it depends on in shortcodes.js is on 2528

    in reply to: Changing default thumbnail for blog posts #669869

    Ismael did the trick i read in the thread by deleting the content and setting up a background-image:

    .format-image .small-preview [data-av_icon]::before {
        background:  url(path to your image) no-repeat scroll center center / contain ;
        content: "";
        height: 70px;
        left: 5px;
        position: absolute;
        top: 5px;
        width: 70px;
    }

    works too !

    i do the css trick by setting up display: inline-flex.

    in reply to: Changing default thumbnail for blog posts #669833

    the link above from Yigit is best if you want to change it with another “font” icon
    if you like to change it with a colored logo this above should work.

    in reply to: Changing default thumbnail for blog posts #669816

    try this here :

    .format-standard .small-preview [data-av_icon]::before {
        content: url("path to your image");
        display: inline-flex;
        height: 70px;
        position: relative;
        top: 5px;
        width: 70px;
    }

    edit : sorry it has to be more selective

    this is for : http://webers-testseite.de/ikom/blog/ see the wordpress logo instead of pencil !

    for the following sites do it in a similar way !

    • This reply was modified 8 years, 10 months ago by Guenni007.
    in reply to: Adding Text (Tagline) next to Logo with child theme #669785

    i prefer Yigits last link.
    if you look to this site (Kriesi Blog Site / Support Forum) and what happend to the logo on shrining this will be one part of the solution. you can let those text stay (the rule of #top .header-scrolled .logo-title on the bottom set opacity to 1) if shrinking has stopped

    i changed a bit that code to insert the normal site name and site description of wordpress. So you only have to have the figurative Part of your logo and put in the text via code (this comes to child-theme functions.php):

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub)
    {
      $sub .= "<span class='logo-title'>";
      $sub .= get_bloginfo( 'name', 'display' );
      $sub .= "</span>";
      $sub .= "<span class='logo-title logo-subtitle'>";
      $sub .= get_bloginfo( 'description', 'display' );
      $sub .= "</span>";
      return $sub;
    }

    than you have to manage your customisation via quick css – something like this (it comes to quick css):

    #top .logo, #top .logo a {
        overflow: visible;
    }
    
    #top .logo-subtitle {
        color: #aaa !important;
        font-size: 18px !important;
        top: 20px !important;
    }
    
    #top .logo-title {
    transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
    font-size: 12px;
    color: #000;
    position: absolute;
    left: 7px;
    top: -7px;
    opacity: 1;
    white-space: nowrap;
    }
    
    #top .subtext {
    float: left;
    position: relative;
    }
    
    #top .header-scrolled .logo-title {
    opacity: 0;
    filter: alpha(opacity=0);
    }
    

    the overflow: visible instruction here is very important

    you can see the result on testpage here: http://webers-testseite.de/ikom/

    • This reply was modified 8 years, 10 months ago by Guenni007.
    in reply to: Google maps API und Enfold Tutorial #669783

    Everything works fine on my sites –
    btw. it lasts at least 15min till the new edited key is active ! Google Server seems to be a bit overloaded the last time

    in reply to: Transparency but not the header #669757
    .header-scrolled .header_bg {
    background-color: #fff !important;
    }

    you even can use rgba or something else

    try it with this code

    edit : a sorry i will have a look – you only want the background behind navigation

    .header-scrolled #header_main_alternate  {
    background-color: #fff !important;
    }
    • This reply was modified 8 years, 10 months ago by Guenni007.
    in reply to: Header scroll down hide logo #669755

    nicht dafür – gerne –
    gerne auch die Ansicht deiner neuen Seite dann mal als link – über mein Avatar kommst du zu meinen Kontaktdaten denke ich – da ich eine url hinterlegte.
    siehst ja das Josue mir damals sehr gut geholfen hat.
    Ich habe mir im Übrigen hier angewöhnt solche Tips in eigenen Dateien zu sammeln (css und php) – das war jetzt Zufall, dass ich mich an den Thread von Damals erinnerte, die Lösung jedoch hatte ich hier gespeichert.

    Ähnlich dem hier: http://kriesi.at/documentation/enfold/code-snippets/

    Bis dann

    Ach – ist das für kleine Screens (mobile / tablet) geregelt – sieht es gut aus – sonst mußt du da nochmal einen Thread neu öffnen, weil der denke ich dann bald geschlossen wird.

    • This reply was modified 8 years, 10 months ago by Guenni007.
    in reply to: Header scroll down hide logo #669749

    the header background is set up in class : header_bg
    but i don’t know your site so i do not know if this will look nice – maybe a semitransparent header is better like:
    (see testsite above too with a semi transparent blue now)

    .header-scrolled .header_bg {
        background-color: rgba(70, 120, 174, 0.8) !important;
    }
    • This reply was modified 8 years, 10 months ago by Guenni007.
    in reply to: Header scroll down hide logo #669745

    btw. what do you mean by hide the white background?
    The logo plus header background-color ?

    in reply to: Header scroll down hide logo #669735

    well i remember a question i had – that shrinking function does not work on ipad:

    so read here for the solution: https://kriesi.at/support/topic/shrinking-header-on-ipad-does-not-work/#post-575345

    the code you have to insert in your child-theme functions.php is:

    function incluide_custom_js_file() {
       wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/main.js', array('jquery', 'avia-default'), 2, true );
    }
    add_action( 'wp_enqueue_scripts', 'incluide_custom_js_file', 100 );

    you see that the custom script is loaded out of the folder in your child-theme folder “js”
    here is Josues link: https://gist.github.com/josueochoa/66beec77cfa7a21e81b8

    the main.js file you see in the link of josue (copy/paste the code in a file and name it main.js) upload that main.js to js folder in your child-theme folder via ftp.

    now shrinking on ipad works and if you put in now my code above the things got to work:
    see here http://webers-testseite.de/ikom

    in reply to: Add link to gallery Image #669432

    if these links are links all went out of your own url maybe this can help: https://de.wordpress.org/plugins/wp-links/
    wp-links can add to every link leaving your url a target blank etc

    in reply to: Add link to gallery Image #669112

    but where is the difference (if you choose the right settings for masonry) accept that responsive behavior is much better for masonry !

    http://webers-testseite.de/ikom/gallery/

    click on the first image of masonry gallery please

    in reply to: Header scroll down hide logo #669106

    there is a class added to header when shrinking has stopped: header-scrolled

    so you might try this:

    .header-scrolled .logo {
        display: none;
    }

    if you want that only on ipad it is difficult to realize that. You have to set this rule in a media-querrie : see here Link

    in reply to: Add link to gallery Image #669105

    on Masonry Gallery there is the possibility to insert for each Image a custom link

    in reply to: Tabs & Akkordeon – Raute rausnehmen aus Link #669103

    wo sind die Tabs auf der Startseite von kriesi?

    die Raute ist ausdruck der ID alle ID’s werden so vorangestellt; Anker machen nur mit ID’s Sinn.
    auch im CSS wenn du der ID : Reiter1 eine Anweisung geben willst steht da:
    #Reiter1: {}

    das ist keine Eigenschaft von Enfold noch von WordPress – das ist Allgemeingut WWW

    bitte berichtigt mich wenn ich da falsch liege

    in reply to: Header scroll down hide logo #669095

    what kind of header did you use in enfold options ?

    shrink – not shrink
    sticky etc. pp

    in reply to: Phone number in header #668768

    A Last word on that
    the solution with extra social icons
    https://kriesi.at/support/topic/phone-number-in-header-4/#post-668478

    has one big advantage – these icons stay on mobile devices visible (and in the footer too if you want it)
    those shifted links were gone after mobile menu is shown.

    in reply to: Phone number in header #668767

    thanks
    btw:

    get rid of that

    #avia-menu {
        margin-left: 27%;
    }

    because your search field is out of sight
    instead try this here:
    (the margin-left with transform gives a good method to center that ul

    .html_header_top.html_bottom_nav_header .main_menu ul:first-child {
        display: inline-flex;
        margin-left: 50%;
        transform: translate(-50%);
        white-space: nowrap;
        width: auto !important;
    }
    
    .html_header_top.html_bottom_nav_header #top .main_menu .menu-item-search-dropdown {
        float: left;
    }

    and for small screens the “social row” is now too big – so start the advanced menu earlier:

    @media only screen and (max-width: 865px) {
      .container #advanced_menu_toggle, #advanced_menu_hide {
          display: block;
      }
    .main_menu .avia-menu, #header_main_alternate, .fallback_menu {
        display: none;
    }
    }

    your submenu is a bit to small now because of the white-space setting above:

    .av-main-nav ul {
        width: 250px;
    }

    Greetings – and now i’m offline

    in reply to: Phone number in header #668761

    by the way besides the solution above you see my code via defining new “social icons” but this is than only with icons

    but without that little “shifting time”

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: Phone number in header #668759

    Well here we go:

    please do not make only one custom menu point out of this ! if it has to work like a real link!

    so goto Menu and create two custom links (if you don’t know how to get to class setting for menu points ask please)

    the red urls are the links
    on phone : tel: … (you see the percent sign – this was automatically generated if you use here a blankspace)
    on email: mailto: …

    the blue underlined fields are what is shown on menu (here you can set in even images or Names like “Phone” “E-Mail” )

    for both i put in css class : shifted

    the code in your child-theme functions.php (you have to customise the menu-item id’s) :

    function av_move_social(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery(".av-main-nav > li#menu-item-2845").detach().prependTo('#header .social_bookmarks');
    jQuery(".av-main-nav > li#menu-item-2847").detach().prependTo('#header .social_bookmarks')
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_move_social');

    and the css code in quick.css was (here too – customise the menu-item id’s):

    
    .shifted .avia-bullet {
        display: none;
    }
    
    #menu-item-2845.shifted {
        margin-right: 80px !important;
    }
    
    #menu-item-2847.shifted {
        margin-right: 120px !important;
    }
    
    .shifted .avia-menu-text {
        display: inline-flex;
        width: 120px;
    }

    if you can not find out the item id’s make the menu points and than we will see the rest

    and this is what it looks like afterwards: http://webers-testseite.de/ikom/

    in reply to: Rearrange pages in the footer widget #668715

    well there is a nice Plugin called intuitive custom postorder : Link

    after activation you are able to sort your posts/pages in a sequence you like by drag and drop (on pages/post list)

    this sequence will than be shown even in widget area

    Also: where did you enter your email adress now?

    If you like to have it besides ” Copyright © BANJARA AS – powered by Enfold WordPress Theme” you can insert in that enfold options dialog field html code too!

    if you like to have it in that widget here again html code too:

    
    <a href="mailto: (Email address hidden if logged out) "> (Email address hidden if logged out) </a>
    in reply to: Phone number in header #668545

    btw the image above is interesting for you i guess:
    https://kriesi.at/support/topic/phone-number-in-header-4/#post-667627

    because your custom link – is no link

    fill in url tel: 0178…
    and in Link Text if you want to show the phone number 0178…

    than even mobiles could press that link and they will open that phone

    in reply to: Phone number in header #668526

    btw instead of appendTo in Yigits Code you can use prependTo if you want it infront of social bookmarks !

    a bit css is than needed (margin-right etc to style it a bit)
    see here both (my code above) works well too http://webers-testseite.de/ikom/

    • This reply was modified 8 years, 11 months ago by Guenni007.
    in reply to: Phone number in header #668478

    how did you manage that with enfold options?
    this is logo left menu below? and how did you manage to show those social icons on that place?

    Or is it main menu with only social icons
    and a “main navigation” with submenu ?

    btw:
    add this to your child-theme functions.php :

    
    function avia_add_custom_icon($icons) {
        $icons['phone']  = array( 'font' =>'entypo-fontello', 'icon' => 'ue854');
        return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
        $icons['Phone'] = 'phone';
        return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    than you have the opportunity to choos on the bottom of that social icon list Phone.

    in reply to: Phone number in header #667932

    so now i’m out – without the life site i don’t want to guess how it could look like.
    So try to place your example site here – and if you don’t want to make it public put it in the hidden part of the message. But than you have to wait til Mods are here.

    in reply to: Change font attribute #667710

    you can try this first on quick css:

    html * {
        font-family: "Ubuntu","HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-weight: 300;
    }

    but there are a lot of inline css rules on enfold if you are working with alb (advanced layout editior)
    you than have to define an additional rule for that!

    f.e.

    #top h1 strong, #top h2 strong, #top h3 strong, #top h4 strong, #top h5 strong, #top h6 strong {
        font-weight: 300 !important;
    }

    i do not know if it is possible to map the 300 weight with the “normal”

    in reply to: How do I get rid of lines in the menu #667694

    To get rid of all borders in that container – > very cool to do that:

    #header_main, #header_main * {
        border: none !important;
    }

    this works on that demo site

    in reply to: Change font attribute #667688

    add this here to your child-theme functions.php:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Ubuntu'] = 'Ubuntu:400,300,300italic,400italic,500,500italic,700,700italic';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Ubuntu'] = 'Ubuntu:400,300,300italic,400italic,500,500italic,700,700italic';
    return $fonts;
    }

    than you shoud have the choice on enfold options page – font to choose your Ubuntu (it is added at the end of the google fonts list on enfold )
    400 is the normal font-weight so i think you should not have the need to change something than.
    The rest is perhaps some quick.css (f.e. if you need the headings on 400 too – goto Enfold Options “Advanced Styling” and generate a rule for h1, h2, h3, h4, h5, h6 etc.)

    in reply to: How do I get rid of lines in the menu #667683

    try this here first on quick css:

    .html_header_sidebar .logo {
        border-bottom: medium none !important;
    }
    
    .html_header_sidebar #header .av-main-nav > li > a {
        border-bottom: medium none !important;
    }

    i do not realy see if you want to get rid of all lines or only the top and bottom line of navigation
    it would be easier to have a real link to your site because demo site is a bit different on yours: http://kriesi.at/themes/enfold-consulting/ while you have no social link under your navigation

    • This reply was modified 8 years, 11 months ago by Guenni007.
Viewing 30 posts - 10,501 through 10,530 (of 11,475 total)