
-
AuthorPosts
-
January 19, 2019 at 11:57 am #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
January 19, 2019 at 8:11 pm #1055966ist das mit den Öffnungszeiten umfangreich – oder nur eine Zeile ?
was ist mit Oben Rechts gemeint? Neben dem Logo oder darüber rechts außen?January 21, 2019 at 2:26 pm #1056661Hi,
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,
IsmaelJanuary 21, 2019 at 2:59 pm #1056699if 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
January 23, 2019 at 4:42 pm #1057798Danke für die Antworten. Vom Umfang her wäre es dieser Text:
Öffnungszeiten
Mittwoch bis Sonntag ab 20.00 UhrGemeint ist neben dem Logo.
-
This reply was modified 6 years, 1 month ago by
blue-box.
January 23, 2019 at 9:58 pm #1057945hier 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/January 24, 2019 at 7:12 am #1058040Hi,
Thanks for sharing and for helping out @guenni007, did you have any luck with that @blue-box?
Best regards,
RikardJanuary 24, 2019 at 6:41 pm #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)January 25, 2019 at 10:27 am #1058592You 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; }
January 25, 2019 at 10:38 am #1058595so 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; } }
January 25, 2019 at 10:41 am #1058596we don’t like to see the “Öffnungszeiten” when hamburger menu is open
change on .logo .subtext the z-index to 2
January 25, 2019 at 3:47 pm #1058772@guenni007 perfect- thanks a lot for your great help – it’s working now like it should.
Thanks a lot!January 27, 2019 at 7:20 am #1059286Hi 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,
RikardFebruary 5, 2019 at 6:54 pm #1063245Yes thanks a lot, you can close the topic. Thanks a lot at all.
February 5, 2019 at 10:31 pm #1063384Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This reply was modified 6 years, 1 month ago by
-
AuthorPosts
- The topic ‘Text neben Logo’ is closed to new replies.