Forum Replies Created
-
AuthorPosts
-
Nicht dafür –
i removed all images of your blog from mineif you get it – i will restore my old solution
if you don’t like the solution with blog info name and description you can use a bit shorter code than in your screenshot 4/7
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<span class='logo-title'>first line</span>"; $sub .= "<span class='logo-title logo-subtitle'>Another custom text line</span>"; return $sub; }see my solution : https://webers-testseite.de/
– but with your Text “Zen Meditation” as logo-title and the other is the logo-subtitle.
There are a lot of possibilities to not have the overlapping.
but as i said without a real page only with screenshots it is not possible. this is my code :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; }so you only have to input via customizer the WordPress site name and the wordpress sloagan. These are then the headings
css for quick.css ( in case the logo is at 120px height):
.logo img{float: left} #top .logo, #top .logo a {overflow: visible } #top .subtext {float: left; position: relative} #top .logo-title { transition: opacity 0.4s ease-out 0s; -moz-transition: opacity 0.4s ease-out; -webkit-transition: opacity 0.4s ease-out; -o-transition: opacity 0.4s ease-out; color: #306066; font-size: 40px; font-family: "Caveat" !important; font-weight: bold !important; left: 7px; opacity: 1; position: absolute; top: -12px; white-space: nowrap; } #top .logo-subtitle { color: #888 !important; font-family: "Caveat" !important; font-size: 24px !important; left: 10px; top: 18px !important; font-weight: normal; } /** get rid of that if you don't like to get rid of logo headings by scrolling - Kriesi Solution */ #top .header-scrolled .logo-title {opacity: 0; filter: alpha(opacity=0)}and to get rid of text on very small screens:
@media only screen and (max-width: 520px){ #top .logo-title {opacity: 0; filter: alpha(opacity=0)} }ohne die Seite selbst zu sehen – fast unmöglich einen Vorschlag zu machen. Wenn du lieber auf einen Mod wartest – auch ok.
Kriesi oben hat eher meinen Code genutzt, dort sind zwei Zeilen eingefügt worden (logo-title und logo-subtitel) – deshalb meine Frage – dein logo ist Symbol + Zen Mediation als Bild und dann “Company Name” hinzugefügt ?
Um die Menu-Schrift zu beeinflussen ( du kannst ja auch das padding was verändern) :
hier mit einem sogenannten Media Query bei einer Screenweite zwischen 768 und 990 :
btw. ich schreibe diese Media-Queries meist ans Ende meiner Quick css@media only screen and (min-width: 768px) and (max-width: 989px){ .av-main-nav > li > a { font-size: 12px; font-weight: 400; padding: 0 10px } }Anhand der bilder sehe ich, dass wir uns auch gerne deutsch unterhalten können.
Verstehe ich das richtig, dass du als Bildmarke (Logo) jetzt das Symbol und den Schriftzug Zen Mediation hochgeladen hast?
Und via functions.php dann Company Name als Zusatz lädst?Warum machst du es nicht so wie hier an Board mit dem Kriesi K. siehe oben – scroll mal ( das Verschwinden der Schriften muss nicht sein – ist aber auch elegant.
Ich mache das in dem Fall immer über den WordPress Titel und die WordPress Beschreibung:
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; }zu dem Überlappungsproblem kannst du dich entscheiden:
Das Menu einstellen, dass es am richtigen Punkt überspringt. Heißt : messen wann es nötig ist und den Sprungpunkt danach einstellen.
Lösung wie oben – die Schriften langsam verschwinden zu lassen ( beim Scrollen – bei shrinking header) und bei kleineren Bildschirmen.this logo is formerly crying for a svg usage.
The font seems to be something like segoe bold (frutiger with i dots : lol )
And that little Dot in Front is very simple to construct on f.e. Illustrator.By the way what is the font name
but by the way – the unsharpness is not caused by less sharpness of the png or jpg – it is a question of screen-abilities. If you are looking to it on my screen 2560×1440 (27′ Mac Screen) or on a retina (ipads etc) your logo on small case isn’t so bad.
Even a svg (by definition sharp) is on that minified Version not sharp on the screen – the resolution does not fit that.have a look to : https://webers-testseite.de/wp-content/uploads/stillAds.svg
and shrink your browser window. A minimum height of 50px seem to be ok.Point 1 ) i do not see both menu and burger menu icon.
but i see you got a cart sign there too so the rule:@media only screen and (min-width: 768px) and (max-width: 989px) { .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu { right: 30px !important } }seems to be a good advice for you even inbetween 768px and 990px – because otherwise the car symbol will overlay the burger icon
Point 2) i can not confirm your fault on my end here: OSX Safari
Point 4) is correct on newest Version of enfold. Therefore or some additional maintab (such as menu) on the left
one thing among others is that you have to set the overflow visible rule for logo – because otherwise it may be in the correct position but it is not seen:
#top .logo, #top .logo a { overflow: visible; }the rest is positioning of the subtext. So it might be good to have the real sitze of you to give you an advice
hm – can be closed – today this effect isn’t seen anymore. Strange – thanks
ok i can change on that case to have hamburger menu only active for smartphones.
And i will do that for this site – but in general i let it now for you to see the bad behavior of header – to see the problemhabe das jetzt mit dem webers-testseite.de durchgeführt – auch da ( liegt also nicht daran, dass die andere url im unterverzeichnis ist) – klapt es nicht.
Wie gesagt – mit der älteren Lösung könnte ich wohl eher leben und blende dann im Menu die Unterstriche aus.
Oder glaubst Du es ist jetzt noch das Problem, weil ich in einem Unterverzeichnis arbeite. ?
ich installiere mal auf webers-testseite.de wpml und schaue mir das Verhalten da an.
-
This reply was modified 8 years, 1 month ago by
Guenni007.
PS : was mich wundert ist, dass es bei dem anderen Link ja alles funktioniert. wo hat also eine Veränderung stattgefunden.
Da ich es mit der exact gleichen Version auch bei Pragma probierte kann es nicht an dem Plugin Ordner liegen.Ich werde mal testweise den config-wpml der älteren Installation rüberkopieren.
Edit:
Die erste lösung fand ich akzeptabler.
Geh noch mal bitte auf den link zu Pragma.wenn ich von der default Sprache ausgehend zB Leistungen drücke – navigiert der zum anker (und wird auch im Menu als activ angezeigt)
drücke ich nun die englische Fahne springt der zum entsprechenden englischen Anker korrekt um (lediglich mit der kleinen Verschiebung)
zurück zu der deutschen Fahne allerdings nicht mehr – sondern geht zur top marke.bei der anderen Lösung funktionierte bis auf den kleinen Versatz und die current Position der menu Strichlein alles korrekt – hin und her springen in den Sprachen wurden immer die analogen Sprungpunkte angezeigt.
bitte mach dir nicht zu viel Arbeit. Das geht schon weit über das hinaus was Ihr leisten solltet. Nur ist es für mich nicht nachzuvollziehen , warum wenn der Anker erreicht wurde und ich hin und her wechsele die Einsprungstelle korrekt bleibt, aber wenn ich im Menu den Anker annavigieren will dieser nicht erreicht wird (und somit die active marke nicht auf dem Menupunkt gesetzt wird.
Ich vermute das beim Scroll down nicht die “ist-header-höhe” mit berücksichtigt wird. Scrolle ich um die Header höhe (also die des geshrinkten Headers) runter – springt die Marke. Das heißt diese Höhe müsste dem Scrollbetrag noch dazugerechnet werden.Danke
-
This reply was modified 8 years, 1 month ago by
Guenni007.
Might be a problem with understanding :
The default installation folder of enfold is: enfold
Do you like to update by uploading to a new folder called EnfoldNew ?
On manual update you completely replace the enfold folder by the new one.concerning to: https://kriesi.at/support/topic/how-to-centre-text-in-socket/#post-845728
on css optimizers often the last semicolon is erased. it is not necessary.
So code could be:#socket .container { text-align: center } #socket .copyright { float: none !important }because there was no attribut list for each rule – if so the semicolons are necessary – except the last !
-
This reply was modified 8 years, 1 month ago by
Guenni007.
and by the way you can replace the text inside your button on click:
In my case on the testpage it is “contact me” to replace
function add_custom_toggler(){ ?> <script> jQuery(window).load(function () { jQuery("#toggle-color-section").addClass("notseen"); jQuery(".avia-button-wrap.color-section-toggler").click(function () { jQuery("#toggle-color-section").toggleClass("notseen"); jQuery(".avia-button-wrap.color-section-toggler span.avia_iconbox_title").text(function(i, v){ return v === "contact me" ? "thanks for your interest" : "contact me" }) }); }); </script> <?php } add_action('wp_footer', 'add_custom_toggler');etc. pp
so i played a bit with the code:
as target for the buttons use: #toggle-color-section
and the class goes to buttons is: color-section-toggleruse this code instead (has the opportunity that the color-section is there but with height = 0px )
function add_custom_toggler(){ ?> <script> jQuery(window).load(function () { jQuery("#toggle-color-section").addClass("notseen"); jQuery(".avia-button-wrap.color-section-toggler").click(function () { jQuery("#toggle-color-section").toggleClass("notseen"); }); }); </script> <?php } add_action('wp_footer', 'add_custom_toggler');and do this to quick css:
.notseen { height: 0 !important; min-height: 0 !important; }see here: https://webers-testseite.de/colorsection-toggle/
allthough i believe that the hide function should work too- but i guess the link to the anchor has no target on click. Because the color-section is on display: none.
here the color-section is allways there (even for seo) but it is not visible-
This reply was modified 8 years, 2 months ago by
Guenni007.
it seem to be a matter of full-width button but i can not see why – the thing is reproducable on my example site !
does the other page with the toggler exists too?
try to delete this page or remove the ID from that color section to prove if it is a double ID conflict.i changed it above try only #toggle-color-section as target of your button
it would be better to insert as button link the page url with the id
so in your case to that site try to insert #toggle-color-section-
This reply was modified 8 years, 2 months ago by
Guenni007.
Ikke noe problem
you inserted in the field the class with the dot – the dot comes automatically to the class
insert please only : color-section-toggler and not : .color-section-toggleryou did it right with the ID – you don’t insert it with the # – the same with the class
i placed a container above the color-section ( all you want ) on my case it is a 2/3rd 1/3rd Column.
In the 1/3rd Column on the right i placed a button with manual link to #
and as described in the thread you mentioned with the custom class .i edited a bit the code because i like to know what is all about – so my code looks like :
function add_custom_toggler(){ ?> <script> jQuery(window).load(function(){ jQuery("#toggle-color-section").hide(); jQuery( ".color-section-toggler" ).click(function() { jQuery( "#toggle-color-section" ).toggle(); }); }); </script> <?php } add_action('wp_footer', 'add_custom_toggler');the button gets the custom class: color-section-toggler
the color section gets the unique id: toggle-color-sectionyou can do the positioning via Enfold – Header – Menu and Logo Position: there you can choose the option Logo center menu below.
Or you can try to influence the parameters for your header layout be:
Well first of all i would deminish a bit your Menu font-size from 15 to 14 and change a bit the padding.
Because your Menu is very big (witdth):#top #header .av-main-nav > li > a { font-size: 14px; padding: 0 11px; }than you can change the break-point where the mobile menu starts through media query rule:
(i do put those media querries allway on the bottom of my quick css)@media only screen and (max-width: 1070px) { .container #advanced_menu_toggle, #advanced_menu_hide { display: block; } .main_menu .avia-menu, #header_main_alternate, .fallback_menu { display: none; } }Or maybe it is an opportunity to have a top navigation with less informative context (like imprint or about etc.)
-
This reply was modified 8 years, 2 months ago by
Guenni007.
you can insert it as manual and only a #
i tried it – see here https://webers-testseite.de/colorsection-toggle/
and it works with thatAugust 29, 2017 at 10:31 am in reply to: 3 adjacent 1/3 width equal height columns not displaying correctly. #845259Nice – but i’m a Participant as you – so you have to wait for a Mod here on Board.
-
This reply was modified 8 years, 1 month ago by
-
AuthorPosts
