Forum Replies Created
-
AuthorPosts
-
March 24, 2025 at 1:28 pm in reply to: Special Heading “Heading Style Modern (left)” with light line #1480049
btw: this handles visibility of that line:
#top .av-special-heading.blockquote .special-heading-border .special-heading-inner-border { opacity: 0.8; }
March 24, 2025 at 12:25 pm in reply to: Special Heading “Heading Style Modern (left)” with light line #1480046ok – ich fand jetzt deine Seite – hilfreich wäre ein link gewesen:
/* === besides the heading === */ #top .av-special-heading.blockquote { display: grid; margin: 0; row-gap: 0px; /*=== influences the distance between heading and subheading ===*/ grid-auto-flow: row; grid-template-columns: auto 1fr; grid-template-areas: "area1 area2" "area3 area3"; } #top .av-special-heading.blockquote .av-special-heading-tag { grid-area: area1; padding-right: 20px } #top .av-special-heading.blockquote .special-heading-border { display: block; grid-area: area2; } #top .av-special-heading.blockquote .av-subheading_below { grid-area: area3; margin-top: -10px; /*=== if you like to have less distance between heading and subheading ===*/ }
und wie gesagt :
/* === besides the subheading : erase that rule if you like to have it besides the heading === */ #top .av-special-heading.blockquote { grid-template-areas: "area1 area1" "area3 area2"; } #top .av-special-heading.blockquote .av-subheading_below { margin-top: 10px; }
March 24, 2025 at 12:09 pm in reply to: Special Heading “Heading Style Modern (left)” with light line #1480043du hast auch nicht erwähnt, dass du die subline oberhalb der Headings hast.
für dich jetzt zum Testen :
#top .av-special-heading.blockquote { display: grid; margin: 0; row-gap: 10px; grid-auto-flow: row; grid-template-columns: auto 1fr; } #top .av-special-heading.blockquote .av-special-heading-tag { grid-area: area1; padding-right: 20px } #top .av-special-heading.blockquote .special-heading-border { display: block; grid-area: area2; } #top .av-special-heading.blockquote .av-subheading_above { grid-area: area3; margin-bottom: 20px; } #top .av-special-heading.blockquote { grid-template-areas: "area3 area3" "area1 area2"; }
dann siehst du schon mal wie es wird.
_____________
um es selektiver zu gestalten müsstest du diesen Headings noch eine benutzer Klasse hinzufügen.
um für beide Fälle gewappnet zu sein.
z.B: subline-above oder subline-belowdann :
/* === besides the heading === */ #top .av-special-heading.blockquote.subline-above, #top .av-special-heading.blockquote.subline-below { display: grid; margin: 0; row-gap: 0px; /*=== influences the distance between heading and subheading ===*/ grid-auto-flow: row; grid-template-columns: auto 1fr; } #top .av-special-heading.blockquote.subline-above .av-special-heading-tag, #top .av-special-heading.blockquote.subline-below .av-special-heading-tag { grid-area: area1; padding-right: 20px } #top .av-special-heading.blockquote.subline-above .special-heading-border, #top .av-special-heading.blockquote.subline-below .special-heading-border { display: block; grid-area: area2; } #top .av-special-heading.blockquote.subline-below .av-subheading_below { grid-area: area3; margin-top: -10px; /*=== if you like to have less distance between heading and subheading ===*/ } #top .av-special-heading.blockquote.subline-above .av-subheading_above { grid-area: area3; margin-bottom: 10px; /*=== if you like to have less distance between heading and subheading ===*/ } #top .av-special-heading.blockquote.subline-above { grid-template-areas: "area3 area3" "area1 area2"; } #top .av-special-heading.blockquote.subline-below { grid-template-areas: "area1 area2" "area3 area3"; }
March 24, 2025 at 8:48 am in reply to: Special Heading “Heading Style Modern (left)” with light line #1480029where do you like to have the heading border ? besides heading or besides the subline?
/* === besides the heading === */ #top .av-special-heading.blockquote { display: grid; margin: 0; row-gap: 0px; /*=== influences the distance between heading and subheading ===*/ grid-auto-flow: row; grid-template-columns: auto 1fr; grid-template-areas: "area1 area2" "area3 area3"; } #top .av-special-heading.blockquote .av-special-heading-tag { grid-area: area1; padding-right: 20px } #top .av-special-heading.blockquote .special-heading-border { display: block; grid-area: area2; } #top .av-special-heading.blockquote .av-subheading_below { grid-area: area3; margin-top: -10px; /*=== if you like to have less distance between heading and subheading ===*/ } /* === besides the subheading : erase that rule if you like to have it besides the heading === */ #top .av-special-heading.blockquote { grid-template-areas: "area1 area1" "area3 area2"; }
important on animated gifs is that you enter the original file – not a recalculated smaller file.
if header scrolls away – think of correcting the padding-top for #main
_____________PS: I’m sure you’ll agree that it’s best to save this for another day, until the moment you have a clear idea of what your header should look like and how it should behave. I know you’re working on it, but just be aware that many of the solutions found wouldn’t work with a shrinking header. I’m sorry to say that I think we’ve lost time.
The next problem we might encounter is with mobile devices. Unfortunately, Enfold doesn’t provide a shrinking header for these, so it uses the scroll variant. But don’t worry, there’s a way around this! If we can adjust this (using a child theme avia-snippet-sticky-header.js), we can make sure your header reacts as you like it. So, what do you think, how big should it be at the start (maybe relative to the screen height)? And then, how small should it get?
Is this still the usual support we’re dealing with? You might want to consider getting in touch with a web design freelancer. ;)
Report please if google webmaster tools make a difference.
it is Bullinger site – so you decide what to use h1 a or vice versa
my css works – but on that page a lot of settings to force f.e. navigation to align middle are unnecessary. And some settings to logo container too.
The more elegant method is to use display flex and a few other settings.by the way: on former times it is better to place the anchor-tag inside the heading-tag (as enfold do with f.e. entry-title etc.)
since html5 / xhtml this is not mandatory. You can have it vice-versa:function use_text_logo_only($logo){ $link = apply_filters( 'avf_logo_link', home_url( '/' ) ); $logo_tag = "h1"; $logo_heading = "My Website Textlogo"; $alt = get_bloginfo( 'name' ); $title = get_bloginfo( 'name' ); $logo = '<a class="logo text-logo" href="'.$link.'" alt="'.$alt.'" title="'.$title.'"><'.$logo_tag.'>' .$logo_heading. '</'.$logo_tag.'></a>'; return $logo; } add_filter('avf_logo_final_output','use_text_logo_only');
to aline that heading with f.e. navigation to the right some css is needed:
#top .logo.text-logo { display: flex; justify-content: left; align-items: center; width: auto; } #top .logo.text-logo h1 { margin: 0 !important; font-size: 30px; }
ps : the snippet below is without that condition – so you do not need to have an empty logo input field – because it will replace that anyway – and hamper img insertion:
here with alt and title attributesfunction use_text_logo_only($logo){ $link = apply_filters( 'avf_logo_link', home_url( '/' ) ); $logo_tag = "h1"; $logo_heading = "My Website Textlogo"; $alt = get_bloginfo( 'name' ); $title = get_bloginfo( 'name' ); $logo = '<'.$logo_tag.' class="logo text-logo"><a href="'.$link.'" alt="'.$alt.'" title="'.$title.'">'.$logo_heading.'</a></'.$logo_tag.'>'; return $logo; } add_filter('avf_logo_final_output','use_text_logo_only');
now you can switch between the tags on entering above what you like to have ( h1, h2, div, p, span )
you can always place a given direct phrase e.g.$alt = "my Alt Text";
you do not have to use the bloginfo name.
forget about that – use: https://kriesi.at/support/topic/how-to-make-the-text-logo-h1/#post-1479660
no subtext is needed!on shrinking header you need:
#top .logo.text-logo, #top .logo.text-logo a { display: flex; justify-content: left; align-items: center; width: auto; margin: 0 !important; }
ok – i found deep in my notes :
but you see on the code : leave the logo input field empty !function change_logo_on_empty_logo_input($logo){ $link = apply_filters( 'avf_logo_link', home_url( '/' ) ); $logo_heading = "my logo title"; // you can have here f.e.: get_bloginfo( 'name', 'display' ) if(empty(avia_get_option('logo'))){ $logo = '<h1 class="logo text-logo"><a href="'.$link.'">'.$logo_heading.'</a></h1>'; } return $logo; } add_filter('avf_logo_final_output','change_logo_on_empty_logo_input');
did you test that allready in a combination:
(on W3C it is allowed to have inside h-tag inline elements ( img, span …))PS: https://www.seo-suedwest.de/4490-google-es-ist-ok-das-logo-einer-webseite-als-h1-ueberschrift-auszuzeichnen.html
and
https://www.youtube.com/watch?v=ZKN8B3yeFAQ&t=3192syou can do that via jQuery – but if that is the right way to influence SEO ? – i guess on seo purpose the solution from https://kriesi.at/support/topic/how-to-make-the-text-logo-h1/#post-1479497
is ok.Edit : use the snippet on bottom.
there is only a filter to change the whole logo tag – but the subtext stays at span.
function new_avf_logo_headline($headline) { $headline = "h1"; return $headline; } add_filter( 'avf_logo_headline', 'new_avf_logo_headline', 10, 1);
but: that is something different.
you only have the chance then to change it in source-code : function-set-avia-frontend.php line 621:
$sub = "<span class='{$subclass}'>{$sub}</span>";
Please don’t be offended by this question. Not everyone on this forum is confident enough to navigate the wealth of Enfold options available.
Just to be sure, you are uploading these zip files via the Custom Type Fonts Manager and not via the SVG Iconset and Iconfont Manager. As I see your screenshot, and in the background you can see this field of icon fonts.
Du kannst es mit einem Accordion auch gut hinbekommen ( mit nur einem Toggle ), und hast dann sogar im Element selber Einfluss auf die Animationsgeschwindigkeit. Ausserdem ist der Button ( so du denn einen möchtest ) wahlweise ober- bzw. unterhalb platzierbar.
Zugegeben das ist etwas sehr gestyled – aber hier siehst du mal beide Anwendungen nebeneinander:
https://webers-testseite.de/fold-unfold-toggler/Du kannst bei dem Fold/Unfold überigens den Verlauf wegnehmen; musst dann aber die Höhe so abpassen das ein Zeile nicht angeschnitten wird.
.avia-fold-unfold-section .av-fold-unfold-container::after { background: none !important; }
concerning to svg ( that topic is closed ) you asked make svg – so i thought you do not have one.
You can use Illustrator to do so from an image – but this image redrawer is not 100% accurate, it depends mainly on the image and its resolution.By the way – I know this might be a lot of work – but it might help us if your demos were also up to date with the latest Enfold version, at least the big last main demo (unfortunately the one from 2017).
i do not see your page – but if you are using the font icon ( avia-font-entypo-fontello ) then it is as before:
span[data-av_icon="\e859"] { color: red !important; }
if you are using the svg icon ( avia-font-svg_entypo-fontello ) then an inline svg is used – and you have to use fill for the svg path:
span[data-av_svg_icon="basket"] svg { fill: red !important; }
as mentioned here you can add html code
you do not need to do that line by line ( but it shows you more clearly what $sub .= happens by means of that dot ) – the dot stands for adding some htmladd_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<h1 class='logo-title'>"; $sub .= "My Website Textlogo"; $sub .= "</h1>"; return $sub; }
pay attention on usage of quotes – if you wrap the inserted html by double quotes – you had to use for classes, alt, href, title etc inside it single quotes.
ok – i found the solution.
A size (inline size) can only be measured for block or inline elements. Because Enfold shows the flex_cell as display: table – it could not work.
But we can set to show as display: block with float left – then it works. – see link aboveI’m on a Retina display here and can’t test it under all eventualities – maybe you needed to remove that rule set:
@media only screen and (max-width: 1425px) { video { object-position: -335px; } }
and find your own media-query setting for it maybe with more conditions like -webkit-min-device-pixel-ratio: 2 or min-resolution: 192dpi
maybe we start with :
@media only screen and (max-width: 875px) { video { object-position:-235px } }
if you got a former working child-theme – then the settings belong to this. So if you got ftp access – then upload the enfold theme via ftp – maybe better you rename the existing enfold folder to something like enfold-old, and then upload a complete enfold folder again.
After that test if your installation runs as it should – you can then delete that old folder ( maybe it is not corrupted but hacked )But what seems strange to me is that you can log in to your child theme despite this message.
It’s slowly becoming a paid service ;)
i uploaded it to your page – and added for that inline logo ( it is now not .logo img but .logo svg ) additional code.
It’s a very good approximation – not 100%, but reasonable at the maximum size of 300px (the small circular rings have become circles). This is also not visible in the large png file.
have you tried my petrona files: Link
#as mentioned above
the above problem may have nothing to do with this, but you are aware that the downloaded Petrona.zip contains both static and variable fonts.
have a look if you have enough php memory limit in use for your installation. Or if you got the right file permissions on those folders.
Can you upload mediafiles without problem?see
In general, if an image is to respond to screen width and completely fill the surrounding container, the container height must match the image’s aspect ratio.
you can see what happens if you force your desired behaviour by : object-fit: fill
https://media.kulturbanause.de/2015/07/css-object-fit.htmlif your parent container height is set by the other content – you can have that behaviour but will distort your image.
You can decide to have that image on object-fit: cover and then shift the important parts of the image by object-position.see here an object-fit: fill on “About me” with Eiffel Tower :
https://webers-testseite.de/freelancer/#aboutthe height is determined by the big content on the left side (first flex-cell) – you can not have responsive behaviour on that image by that condition.
if you set on that img now
#about img { min-height: 100%; object-fit: cover; object-position: center; }
the Eiffel Tower will stay in the middle and container is filled with image – not stretched – but cropped
this is the code for your vuur4 page now:
#av_section_1 { height: 100vh !important; } .responsive #av_section_1 .container { max-width: 100% !important; padding:0 !important; margin: 0 !important; } video { position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; object-fit: cover; overflow: visible !important; }
ps: you can shift the video position by
/* === Keeping the fireplace in view === */ @media only screen and (max-width: 1425px) { video { object-position: -335px; } }
can you please make a decision if you like to have boxed layout or not.
You can see on my stretched layout that it is quiet simple to fullfill your needs. – but with boxed layout it is hard to get.
Now you got on you page stretched layout – so see below the css ruleset.this is my layout on that example page with stretched layout:
#footer-page .avia_textblock p { display: flex !important; flex-flow: row nowrap; justify-content: end; } #footer-page .avia_textblock p a { padding: 0 5px; } #footer-page .avia_textblock p img { padding-top: 2px }
-
AuthorPosts