Forum Replies Created
-
AuthorPosts
-
only for that page:
#top.page-id-311 #main { padding-top: 0 !important; } #top.page-id-311 #main main.template-page.content { padding: 0 !important; }
if you like to have that on all blank pages – use nikko’s selector #top.blank …
#top.avia-blank #main { padding-top: 0 !important; } #top.avia-blank #main main.template-page.content { padding: 0 !important; }
March 6, 2023 at 9:44 am in reply to: Einbindung von F12 Captcha/Honeypot auf der Kontaktseite #1400226ich habe es nie als Problem empfunden einen Shortcode via Text-Alb oder Codeblock Element einzusetzen.
CF7 bietet mit sinnvollen Plugins – wie Upload oder Conditional Fields einfach so viel mehr Möglichkeiten, dass ich den kleinen Umstand verschmerzen kann.March 6, 2023 at 8:22 am in reply to: Einbindung von F12 Captcha/Honeypot auf der Kontaktseite #1400223CF7 hat eigentlich eine gute Doku. https://contactform7.com/docs/
allerdings nur auf Englisch – hier mal eine Seite in deutsch: https://www.webtimiser.de/contact-form-7-einrichten/March 6, 2023 at 8:11 am in reply to: Einbindung von F12 Captcha/Honeypot auf der Kontaktseite #1400220Das Plugin funktioniert mit CF7 auf Anhieb, und ohne das man etwas in die Formulare einbringen muss. Es ist ein Honeypot, funktioniert aber eben pfiffiger als manch andere. Wenn man mal merken sollte das doch mal mehr SPAM eintrudeln wechselt man im Ersten Tab diese Zufallsvariable.
see: https://enfold.webers-webdesign.de/category/speziell/ with that custom hook and with page ID .
Unfortunately, the page-content shortcode does not work here.
echo do_shortcode("[av_postcontent link='page,40273']"); // your page-id
______________________
just to play a bit with that trial to insert on an archive page a top contentPS: the hook Mike uses is the one that is the only possible – but it is not so good i think – for this needs. If there would be a better hook f.e.
after<main class='content …
so if you like to think of a child-theme archive.php you can insert on that place your own hook:
we can make our own page content shortcode – f.e:
function get_post_page_content( $atts ) { extract( shortcode_atts( array( 'id' => null, 'title' => false, ), $atts ) ); $the_query = new WP_Query( 'page_id='.$id ); while ( $the_query->have_posts() ) { $the_query->the_post(); if($title == true){ the_title(); } the_content(); } wp_reset_postdata(); } add_shortcode( 'my_content', 'get_post_page_content' );
and insert our page content via page ID to that new hook:
function ava_insert_page_content_before_loop_mod() { if(is_category('grafik')) { echo do_shortcode("[my_content id='43262']"); // here you had to insert the ID } } add_action('ava_inside_content', 'ava_insert_page_content_before_loop_mod', 100);
You can then style a page ( as Mike said – better without any full-width alb element (color-section, tab-section, grid-row) ) – and insert it to your category via ID.
March 5, 2023 at 6:27 pm in reply to: Einbindung von F12 Captcha/Honeypot auf der Kontaktseite #1400175bei der freien Version funktioniert Enfold Kontakt noch nicht. Da du aber oben CF7 erwähntest – das geht automatisch auch bei der freien Version.
Teste es – du wirst überrascht sein wie gut es filtert.i would recommend the solution with absolute position the followed column container over an easy slider alb element.
it has all advantages of a real slider – with crossfading between images. And the option to play with transition speed etc. pp.on that page: https://nlsla.org/ you had set the padding-top of #main to zero.
if the header is sticky you had to change that to 80px as in my code above.see above comments on these rules if you like to have background from the beginning.
#top .av_header_glassy.av_header_transparency .header_bg { background-color: #376b9e; opacity: 1; filter: alpha(opacity=100); } .responsive #top .header_bg { opacity: 1; filter: alpha(opacity=100); background-color: #fff !important; }
some settings on top might not be usefull for your pages. – but try it first – then we can correct the settings
PS:
on that page (nlsla.org) – you have overwritten standard enfold setting ( middle ) :@media only screen and (max-width: 767px) { .avia-section.av-minimum-height .container .content { vertical-align: top; } }
but this is not good – because your buttons will be at top in responsive case.
there are a lot more css rules to set. All depends first on your header settings. header_meta or not – does the header_meta scroll away on responsive case? ( “Unstick Topbar” ). Then where did your hamburger breakpoint is set? 767 or 989 or something completely different?
On transparency or glassy headers – do you like to have them transparent or glassy first too or not? …see here working examples:
https://consulting.webers-testseite.de/
https://basis.webers-testseite.de/Edit: you had to change your bg-color for your needs : #376b9e for https://lunchticket.org/
you can try as starting point:/****** sticky header *** responsive case when burger is visible - you had to edit then the media query *************/ @media only screen and (max-width: 989px) { /****** might be neccessary to set .responsive .avia-svg-logo svg { max-width: 280px; } *******/ .responsive #top #wrap_all #header .container { width: 95%; max-width: 95%; } /*** if top-bar should be visible on mobile - it will be 110px ***/ #header { position: fixed !important; height: 80px !important; max-height: 80px !important; } .responsive #top .av-logo-container , .responsive #top .logo a, .responsive #top .logo img, .responsive #top .logo svg { height: 80px !important; max-height: 80px !important; line-height: 80px !important; } .responsive #top .av-main-nav .menu-item-avia-special a { height: 80px !important; line-height: 80px !important; } /***** see comment below ******/ #top .av_header_transparency, #top .av_header_transparency .header_bg { background: transparent !important; } /******* if you do not like to have first transparency then backgound-color * remove the above transparent rule and use this instead : #top .av_header_glassy.av_header_transparency .header_bg { background-color: #fff; opacity: 1; filter: alpha(opacity=100); } .responsive #top .header_bg { opacity: 1; filter: alpha(opacity=100); background-color: #fff !important; } **************/ #top #header.header-scrolled .header_bg { background-color: #FFF !important; opacity: 1 } .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo img.alternate, .responsive.html_mobile_menu_tablet #top .av_header_transparency .logo .subtext.avia-svg-logo-sub { display: block !important; } .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > img, .responsive.html_mobile_menu_tablet #top .av_header_transparency.av_alternate_logo_active .logo a > svg { opacity: 0; } html:not(.html_header_transparency) #top .header_bg { background-color: #FFF !important; } .responsive.html_header_transparency.html_header_top #top #main { padding-top: 0px !important; } .responsive:not(.html_header_transparency).html_header_top #top #main { padding-top: 80px !important; } } @media only screen and (max-width: 767px) { /****** again might be neccessary to set - depends on your logo and if you are using a svg .responsive .avia-svg-logo svg { max-width: 220px; } *****/ .responsive #header_meta .sub_menu > ul > li { padding: 0 5px; } }
March 4, 2023 at 3:39 pm in reply to: Einbindung von F12 Captcha/Honeypot auf der Kontaktseite #1400101Ein sehr gutes Plugin – schon auch in der Freien Version ist WP Armour
Dort im Link oben kannst Du auch schon nachlesen, wo das Plugin sich automatisch einbindet. Enfold ist in der Liste nicht aufgeführt, aber auch Enfold Kontaktformulare werden unterstützt.
Ich bin mir nicht sicher, ob das nur bei meiner Pro Version so ist, aber die “Enable 2 Level Spam Check” sollte man nicht aktivieren. Hier hatte ich zuviele false positiv Resultate.
Such mal nach Erfahrungen mit dem Plugin – danach wirst du dein f12 Captcha ausmisten.March 3, 2023 at 9:32 pm in reply to: Wie erzeuge ich hochgestelltes Zeichen (Superscript) in Menü und Seitentitel? #1400063all infos are on my avatar or username. Send me an e-mail
March 3, 2023 at 8:59 pm in reply to: Wie erzeuge ich hochgestelltes Zeichen (Superscript) in Menü und Seitentitel? #1400061show me please the page – or post for the mods in private content – ps read my post that i set in the time you posted yours.
March 3, 2023 at 8:49 pm in reply to: Wie erzeuge ich hochgestelltes Zeichen (Superscript) in Menü und Seitentitel? #1400058Well you had to use these characters:
™ ® ©
then the code will do the rest. ATM
will not work.
It works on my end here.
Even in breadcrumb – they will be replaced. But if you like to have itBut if you even want to have it on:
then you had to copy&paste the character on f.e.: http://unicode.e-workers.de/entities.php
or use the unicode decimal for it e.g:®
in the page title
sorry boardsoft will immedeitately transfer the entity :March 3, 2023 at 3:51 pm in reply to: Wie erzeuge ich hochgestelltes Zeichen (Superscript) in Menü und Seitentitel? #1400035if you are having this a lot and only on copyright, tradmark etc. you can do this in one short snippet for child-theme functions.php:
just place that character and let the script do the sup-wrapperfunction wrap_copyright_text_with_sup(){ ?> <script> (function($) { $(document).ready(function() { $('body :not(script)').contents().filter(function() { return this.nodeType === 3; }).replaceWith(function() { return this.nodeValue.replace(/[™®©]/g, '<sup>$&</sup>'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'wrap_copyright_text_with_sup');
if you like to have manual control just place vor Menu Items in Navigation Label :
<sup>ABC</sup>
or to have it sub similar to itH<sub>2</sub>O
edit menu-item ( red circle ):
March 3, 2023 at 3:39 pm in reply to: Extra CSS data-created_by=”avia_inline_auto” on posts and pages #1400032Can you try this in your child-theme functions.php:
function custom_avf_post_css_create_file( $create ){ return true; } add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 );
the css is created anyway – but not saved inline – all goes to extra css file inside /wp-content/uploads/dynamic_avia/
maybe this is a possible way to reach the same only with enfold alb usage:
On newer Enfold we got the options to position that 1/1 container absolutely – and if we place it absolute: 0 ( set to a higher z-index )
We have then no background-images but a real slider with real cross-fade options because we got images.
The only problem is responsive behavior : In the end, the image of the slider determines the height of the cell. If this content gets higher then the images – it will “overflow” this “background-slider”. This absolute positioning you can set only for wider screens – and on mobile you can have the normal behavior etc. pp.see example: https://webers-testseite.de/test-temp/
One thing that bothers me with my code – is that the fading goes to the entire container. So this also affects the content. It would be better if only the background would experience a fading.
so definitly use Yigits Code for now – i will look to change my code
i got this function – and it is a bit different from Yigits – but it is nearly the same background on how to achive this.
But now my question – this looks only good after the first cycle – till the images are in the browser cache.
Is it possible to have a preloading of the image array on page loading?function av_grid_slide(){ ?> <script> window.addEventListener("DOMContentLoaded", function () { (function($){ var cellSlider = $('.grid-slider'); var images = [ 'url(/wp-content/uploads/test-london.jpg)', 'url(/wp-content/uploads/test-paris.jpg)', 'url(/wp-content/uploads/test-newyork.jpg)', ]; $(function () { var i = 0; cellSlider.css("background-image", images[i] ); setInterval(function () { i++; if (i == images.length) { i = 0; } cellSlider.fadeOut("1000", function () { $(this).css("background-image", images[i] ); $(this).fadeIn("1000"); }); }, 5000); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'av_grid_slide');
btw: that double Quotation is in Yigits Code above
but please could you discuss the solution then please!
Sometimes it helps other participants to learn from the problems of others.
My guess was that you had old code in your child theme functions.php that was causing conflicts.these are page-content inserted via the page-content alb to your page? or how do you inserted this content?
_______
btw: think of the former tip for those fixed images – and mobile support. This does not work on parallax – so if there is the custom-class : bg-fixed set before – because it was a former fixed bg style.it has to be in a text-block alb ?
Or can you use the accordion alb instead. ?by the way – on a text-block the trick via details will work :
<details> <summary>read more …</summary> <p>Here comes the hidden text inside</p> </details>
@media only screen and (max-width: 767px){ .responsive #top .avia-post-nav { display: block; } }
but i guess on next enfold version there will be a swipe support on post-navigation.
This is exactly why I asked for the link. There are better methods (flex-layout or even better grid-layout) to solve the same height problem – even without aiming at quite a few media-query solutions with min-height. But obviously solutions from non-moderators are not wanted. Too bad
i don’t know where you need this rule – but you had to be more spezific for the elements you like to influence.
.archive.author header.entry-content-header { margin-bottom: -50px; }
this is causing it – remove that rule and:
#top .template-author .content .post .entry-content-wrapper { padding-bottom: 0px; }
and because you do not show meta content here
and if you do not like to have that separation#top .template-author .content .post-meta-infos, #top .template-author .content .author-extra-border { display: none; } #top .template-author .page-heading-container { border-bottom: none !important }
#top .author-box { display: grid }
if you like to style it – and have it a bit larger:
#top .post-author-format-type .rounded-container { width: 100px; height: 100px; border-radius: 25% } #top .post-author-format-type .rounded-container img { width: 100%; border-radius: 25% }
i do not know where your rule comes from – because merging is active :
there is:@media only screen and (max-width: 767px){ .responsive .template-blog .blog-meta { display: none; } }
so try in your quick css:
@media only screen and (max-width: 767px){ .responsive #top .template-blog .blog-meta { display: block; } }
Hast du mal den Link zu deiner Seite ?
zunächst ist ja auch das “bring to front” im svg divider – wenn das aktiviert ist, bekommt das svg bzw. der wrapper einen z-index von 100.
mach diesen haken mal raus.PS gut das im Screenshot dein Tel gut zu sehen war ;) die Seite zu inspizieren ist nämlich leichter als Vermutungen anzustellen.
What is initially noticeable is not only the different display in the post slider, but also that slightly different sources are used in the single posts.
Both times the image is opened in the lightbox, and by default the large image is used as the source.
In the one image, however, this is: 1024X683 in the other image (new), however, it is: 1030×687.
This could then of course lead to the fact that the calculation based on this the images in the post slider are also different.PS: I still do not see why in the single post with you such nearly 4:3 images are shown, because actually the entry_with_sidebar format is 845×321 so rather a narrow image.
Therefore, the actual error is more likely to be found in the choice of images for the lightbox of the single posts.
PS: for testing purpose it would be nice if both posts ( with image 39 and 39new ) are in the same category – to see if there could be an impact.
-
This reply was modified 1 year, 12 months ago by
Guenni007.
-
This reply was modified 1 year, 12 months ago by
-
AuthorPosts