Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1055839

    Hallo Kriesi Team

    ich möchte Folgendes im Header Bereich:

    Logo links, Menu darunter. oben rechts einen Textbereich für die Öffnungszeiten.
    > Wie kann ich dies machen?

    Mit den besten Grüssen

    #1055966

    ist das mit den Öffnungszeiten umfangreich – oder nur eine Zeile ?
    was ist mit Oben Rechts gemeint? Neben dem Logo oder darüber rechts außen?

    #1056661

    Hi,

    You can add a widget inside the header area. More info here: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area

    Best regards,
    Ismael

    #1056699

    if it is only one line or less text – he could try to do it via avf_logo_subtext filter – thats why i asked him for details
    And if “Logo on the left, menu below. top right a text area for the opening times.” he can use normal Phonenumber Input field.

    So waiting for more input of him/her

    #1057798

    Danke für die Antworten. Vom Umfang her wäre es dieser Text:

    Öffnungszeiten
    Mittwoch bis Sonntag ab 20.00 Uhr

    Gemeint ist neben dem Logo.

    • This reply was modified 6 years, 1 month ago by blue-box.
    #1057945

    hier ist eigentlich eine ganz gute Anleitung:

    https://kriesi.at/documentation/enfold/logo/#image-logo-with-subtext

    wäre dann sowas für das functions.php des child-themes:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= '<h2>Öffnungszeiten<br/>Mittwoch bis Sonntag ab 20.00 Uhr</h2>';
        return $sub;
    }

    css kannst du auf der Link seite sehen.
    Wenn du das hast wäre ein live Link schön, um das Styling auch für den Responsive Case zu gestalten.
    Siehe hier auf die schnelle : (ohne jetzt den Mobile Style einzuarbeiten.) https://webers-testseite.de/cynthia/unite4-2/

    #1058040

    Hi,

    Thanks for sharing and for helping out @guenni007, did you have any luck with that @blue-box?

    Best regards,
    Rikard

    #1058293

    @guenni007 @Rikard
    thanks a lot for your help – yes that is exactly how it should looks like (like the guenni007’s link)…
    But it seems I am doing s.th. wrong – I get the additional subtext below the logo instead right…
    And I was not able to find the error.
    Can someone help me here (development environmentlink: https://www.weblines.ch/bluebox)

    #1058592

    You see the link above – under it there is: “Subtext style and position”
    Open the toggle “Add subtext to the right of the logo”
    This css you need to add to your Quick css.

    So add to quick css:

    #top .logo,
    #top .logo a {
      overflow: visible;
    }
    
    /* Subtext styling */
    .logo .subtext h2 {
      font-size: 20px;
      font-weight: 600;
      line-height: 26px
    }
    
    .logo .subtext {
      position: absolute;
      top: 60%;
      right: 0;
      transform: translate(120%, -50%);
      z-index: 999;
      width: 500px;
    }
    #1058595

    so now we had to find the solution for small screens so complete code could be:

    #top .logo,
    #top .logo a {
      overflow: visible;
    }
    
    /* Subtext styling */
    .logo .subtext h2 {
      font-size: 20px;
      font-weight: 600;
      line-height: 26px
    }
    
    .logo .subtext {
      position: absolute;
      top: 60%;
      right: 0;
      transform: translate(110%, -50%);
      z-index: 2;
      width: 500px;
    }
    
    @media only screen and (max-width: 768px) {
    /* Reduce the logo height to make space for the subtext below */
    #top #header .logo img {  
      max-height: 70%!important;
      margin-top: 10px;
    }
    
    /* OPTIONAL CHOICE : Change position of subtext when scrolled */
    #top #header .logo img {  
      max-height: 100%!important;
    }
    #top #header .logo .subtext {
      position: relative;
        top: 10px;
        left: 0;
    }
    }
    #1058596

    we don’t like to see the “Öffnungszeiten” when hamburger menu is open

    change on .logo .subtext the z-index to 2

    #1058772

    @guenni007 perfect- thanks a lot for your great help – it’s working now like it should.
    Thanks a lot!

    #1059286

    Hi blue-box,

    Great, glad you got it working and thanks to @guenni007 for helping out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1063245

    Yes thanks a lot, you can close the topic. Thanks a lot at all.

    #1063384

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Text neben Logo’ is closed to new replies.