Forum Replies Created

Viewing 30 posts - 10,621 through 10,650 (of 11,589 total)
  • Author
    Posts
  • 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 9 years 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 9 years 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 9 years 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 9 years 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 9 years 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 9 years ago by Guenni007.
    in reply to: Add custom image size to Avia Layout Builder #667679

    the code of your link above does work too – i tested it on my testenvironment (but perhaps you give it a second choice) without the uncommenting lines:

    add_image_size( 'bigger-square', 250, 250, true );
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'bigger-square' => __( 'Bigger Square' ),
        ) );
    }
    in reply to: I need help with icon #667676

    or much easier – you choose on that alb element a bigger font size: maybe 60px
    and than you reduce the padding on that icon

    .page-id-3789 .av-icon-char {
        padding: 10px !important;
    }
    in reply to: Add custom image size to Avia Layout Builder #667658

    the point is that on uploading an image WordPress generates those given sizes and stores it under the known names.

    it only is in the dropdown list if the image has that calculated size – so have a look after you have done the resize thumbnails and see again

    (PS : you have to mark those images you want to be resized )
    the force regenerate thumbnails has the advantage that the old images are erased and newly calculated.
    So if you change perhaps the wordpress media dimensions the old ones are erased and did not waste memory on your server.

    • This reply was modified 9 years ago by Guenni007.
    in reply to: Phone number in header #667656

    the first two css rules set before every link starting with “tel:” an icon of the enfold entypo fontello icons.

    the third rule is to manage the image i set in the menu link

    in reply to: Phone number in header #667646

    if you don’t like it as a number see here
    on my test environment http://webers-testseite.de/ikom/

    code is on that:

    #menu-item-2836 a[href^="tel:"]::before {
        content: "\e854";
        font-family: entypo-fontello;
        font-size: 25px;
    }
    
    #menu-item-2836 span {
        display: none;
    }
    
    #menu-item-2839 .avia-menu-text > img {
        position: relative;
        top: 10px;
    }
    in reply to: Phone number in header #667627

    ah ok – if you got your social links on the right of your main nav – create a new Menu Point on your main Nav !

    Add a custom link
    fill in that Url input field : tel:+49 228 21548753
    on Name : Phone or an image link or your phone-number

    • This reply was modified 9 years ago by Guenni007.
Viewing 30 posts - 10,621 through 10,650 (of 11,589 total)