Forum Replies Created
-
AuthorPosts
-
July 15, 2019 at 8:46 pm in reply to: How is the "double button" at the KRIESI homepage done? #1118936
if I had no respect for simple questions here, then I would be satisfied with hints at the solution approach. But I often mean to formulate precise instructions here. Some people may even be disturbed by the detail and illustrations – and many are not interested in a learning curve but just want to get the solution in the form of short snippets. But despite everything the questions are often not precise enough.
You presented me a picture of the slider above; then I mistakenly assumed that you wanted to achieve that. But in the end it’s not much different than the described procedure, because as the mods here already indicated, it’s not an ALB element, but just like I indicated above simple html insertion and css styling. So please always try to be as specific as possible in your question in order to avoid superfluous solutions.July 14, 2019 at 11:42 pm in reply to: How is the "double button" at the KRIESI homepage done? #1118630ps: on that case – you had to define the animation for those button container. That comes from slider description container. – but can be translated to it
July 14, 2019 at 11:39 pm in reply to: How is the "double button" at the KRIESI homepage done? #1118629And dear Gitte you aren’t able to transmit the more complicated case to an easier one?
the html code is above – put it in a text-block or code block element – the rest only had to be adjusted to not specific for sliders:.avia-double-buttons { margin-top: 30px; text-align: center; position: relative; } #top #wrap_all .avia-double-button, #top #wrap_all .avia-double-button { background: #000; background: rgba(0,0,0,0.4); border-color: #fff; color: #fff; padding-bottom: 11px; text-decoration: none; } #top .avia-double-button { letter-spacing: 1px; padding: 13px 20px; padding-bottom: 13px; text-transform: uppercase; font-size: 13px; text-align: center; min-width: 175px; display: inline-block; transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; border: 4px solid #fff; border-top-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-right-width: 4px; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); text-decoration: none; } #top .avia-double-button-1 { border-top-left-radius: 100px; border-bottom-left-radius: 100px; border-right-width: 2px; } #top .button_or { position: absolute; display: block; height: 26px; line-height: 21px; width: 40px; text-align: center; top: 50%; left: 50%; margin: -13px 0 0 -22px; background: #fff; color: #666; border-radius: 100px; font-size: 12px; border: 2px solid #FFF; font-style: italic; font-weight: 600; z-index: 11; } #top .avia-double-button-2 { border-top-right-radius: 100px; border-bottom-right-radius: 100px; border-left: none; border-left-color: currentcolor; } #top #wrap_all .main_color .avia-double-button-1:hover, #top #wrap_all .main_color .avia-double-button-1:hover { background: rgba(0, 100, 190, 0.6); color: #fff; } #top #wrap_all .main_color .avia-double-button-2:hover, #top #wrap_all .main_color .avia-double-button-2:hover { background-color: rgba(200,0,120,0.6); color: #fff; } @media only screen and (max-width:480px) { .responsive #top .avia-double-button { width:50%; min-width:50%; margin:0 } }
see test page
July 13, 2019 at 10:20 pm in reply to: Include icons with css [after] – not working for icons #1118408if you want to use a entypo-fontello font icon put in like that:
instead of the u in ue808 there must be a backslash..comment-header::after { content: "\e808"; font-familiy: entypo-fontello; … }
if you are using win keyboards the back-slash got his own sign on keyboard
on mac keyboard you will find the backslash on :
⇑ ⌥ 7 : shift alt 7
(Alt could be named option key)-
This reply was modified 6 years, 3 months ago by
Guenni007.
July 13, 2019 at 9:52 pm in reply to: How is the "double button" at the KRIESI homepage done? #11184021) make a: Fullwidth Easy Slider
2) choose slide-show transition : fade
3) place an image and put html-code into : caption – caption text field:
<div>A subheading line included before the buttons</div><div class="avia-double-buttons "><a href="https://kriesi.at/themes/enfold-overview/" class="avia-double-button avia-double-button-1">View Demos</a><span class="button_or">or</span><a href="https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990?ref=Kriesi" class="avia-double-button avia-double-button-2">Purchase Now</a></div>
(put it in without line-breaks !)
As you see – you can add infront of the buttons a subheading line!4) put this to your quick css:
.avia-double-buttons { margin-top: 30px; text-align: center; position: relative; } #top #wrap_all .avia-slide-wrap .avia-double-button, #top #wrap_all .avia-hover-fx .avia-double-button { background: rgba(0,0,0,0.2); border-color: #fff; color: #fff; padding-bottom: 11px; text-decoration: none; } #top .avia-double-button { letter-spacing: 1px; padding: 13px 20px; padding-bottom: 13px; text-transform: uppercase; font-size: 13px; text-align: center; min-width: 175px; display: inline-block; transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; border: 4px solid #fff; border-top-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-right-width: 4px; border-bottom-color: rgb(255, 255, 255); border-left-color: rgb(255, 255, 255); text-decoration: none; } #top .avia-double-button-1 { border-top-left-radius: 100px; border-bottom-left-radius: 100px; border-right-width: 2px; } #top .button_or { position: absolute; display: block; height: 26px; line-height: 21px; width: 26px; text-align: center; top: 50%; left: 50%; margin: -13px 0 0 -14px; background: #fff; color: #666; border-radius: 100px; font-size: 10px; border: 2px solid #FFF; font-style: italic; font-weight: 600; z-index: 11; } #top .avia-double-button-2 { border-top-right-radius: 100px; border-bottom-right-radius: 100px; border-left: none; border-left-color: currentcolor; } /** if you like to have different hover colors **/ #top #wrap_all .main_color .avia-slide-wrap .avia-double-button-1:hover, #top #wrap_all .main_color .avia-hover-fx .avia-double-button-1:hover { background: rgba(0, 100, 190, 0.6); color: #fff; } #top #wrap_all .main_color .avia-slide-wrap .avia-double-button-2:hover, #top #wrap_all .main_color .avia-hover-fx .avia-double-button-2:hover { background-color: rgba(200,0,120,0.6); color: #fff; }
for responsive behavior – test what fits best as width value:
@media only screen and (max-width:767px) { .responsive #top .avia-double-button { width:50%; min-width:50%; margin:0 } }
So you don’t have to be afraid with the normal version either. I have several Urls running on one API, and get regular monthly bills for 0,00Euro.
no you can close it now
is it possible to check multiple boxes in the same checkbox list ?
f.e. if there is a button with “i’m interested in callback and e-mail contact”i do not see your private content – but i suppose it is a svg file – which needs a width setting on chrome.
by the way – i use the reCaptcha v3 with CF7 in Enfold – that works even with js compression.
and i only load those scripts for contact form pages
by replacing one line in class-grecaptcha.php ( line 271)
from :$regex = "!\[av_contact!";
to:$regex = "!\[contact-form-7|\[av_contact!";
thanks for the hint :
my solution now is ( because the youtube links : images with link to youtube films with iframe=true) have on lightbox-added the additional class: mfp-iframe i can do it this way:
1) i gave the data-group to lightbox-added – then to mfp-iframe – so they got different data-groups
2) and i had to add the main-class to magnific popup uses on enfold case to work properly
3) i have to do it with window load not document ready// custom lightbox function add_custom_script_lightbox(){ ?> <script> (function($){ $(window).load(function() { $('.lightbox-added').attr('data-group', '1'); $('.mfp-iframe').attr('data-group', '2'); var groups = {}; $('.lightbox-added').each(function() { var id = parseInt($(this).attr('data-group'), 10); if(!groups[id]) { groups[id] = []; } groups[id].push( this ); }); $.each(groups, function() { $(this).magnificPopup({ type: 'image', mainClass: 'avia-popup mfp-zoom-in mfp-image-loaded', closeOnContentClick: false, closeBtnInside: false, gallery: { enabled:true } }) }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script_lightbox');
July 6, 2019 at 10:39 pm in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1116344do not forget to set the ::-moz-selection
But how to influence ( hook to ) the enfold lightboxes – not the inline popups.
by the way – you see the link in private content. This is no gallery from the start. There are on that page different media files which have all a lightbox link.
The default enfold way on the alb to have lightbox.
I want to avoid that all media files are part of the “gallery” in the lightbox by clicking the next (or prev.) Button. On default Enfold behavior it is different Media files in different color-section are not part of one lightbox gallery.So is there a way to split in a layout without color-sections f.e. videos in one lightbox – images in the other?
so for that i had to create a plugin/shortcodes folder ?
Wouldn’t it be better to work with the mostly already existing one in child-themes/shortcodes folder ?July 5, 2019 at 10:21 am in reply to: Can I just add Google Fonts code instead of upload the entire set of font? #1116001after the code Rikard gave to you – the font could be used on quick css this way:
font-family: 'Russo One', sans-serif;
to register it for enfold options you can place this to child-theme functions.php :
add_filter( 'avf_google_heading_font', 'avia_add_custom_font'); add_filter( 'avf_available_google_fonts', 'avia_add_custom_font'); function avia_add_custom_font($fonts) { $fonts['Russo One'] = 'Russo+One&display=swap'; return $fonts; }
The Font is at the bottom of the list!
July 3, 2019 at 9:56 pm in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1115591look for example : https://www.sparkasse-koelnbonn.de/de/home.html
in the footer area – same here – no enfold – this is a matter of browser behavior.If you will pick up a link – then a webloc file is copy pasted and look like this f.e.
A Link should work as a link. But if you place the cursor next to a link so that not the hand but the cursor (selector) is visible, you can also copy a link textually if you don’t have a tremor.
If you select text with links in it – only the text will be copied.
July 3, 2019 at 5:42 pm in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1115531Click what i mean. here: Link
July 3, 2019 at 5:29 pm in reply to: Texte von Teilen der Website wirken wie in den Hintergrund eingebunden #1115528you can see the selection color on the white pages :
this is exactly the background-color of the footer / socket and the font color is white.
So if you “select” text it will not be seen.!Please enter first my css code then we can discuss if it is a bug or a feature-
because if you drag that onto your desktop besides the browser – it will create a text copy of that selected and draged part ( on mac it does)sorry – wrong answer.
hi mike can you describe where i have to place the files
related_posts.php goes to : ( i tried child-themes/shortcodes )
enfold-related-posts-element goes to ( i tried plugins folder ) but activation of plugin leads to fatal error.the GitHub is a little underdocumented
July 2, 2019 at 9:59 pm in reply to: Problem on Post with “Do not allow duplicate posts in the entire page” #1115284can you try this in your child-theme functions.php:
function ava_exclude_current_post($query) { if (is_singular('post')) { $exclude = avia_get_the_ID(); $query->set( 'post__not_in', array($exclude) ); } } add_action('pre_get_posts', 'ava_exclude_current_post');
thanks ismael: https://kriesi.at/support/topic/how-to-change-related-post-style-to-grid/#post-1084541
i have no page to see ?
If you could make it public – just let me see.i do not see the page you are concerning to- but
visibility:hidden means that unlike display:none, the tag is not visible, but space is allocated for it on the page.
The tag is rendered, it just isn’t seen on the page.
So maybe you can set it to display none.can you make your site public here?
It is always easier to help for the site in question.PS : you realy mean for mobile devices only – or for small screens too?
What is your code you are trying to include.
( Please use code-tag here on board for that to post)July 1, 2019 at 10:30 pm in reply to: Code Block Element doesn't handle shortcodes properly #1114973you have an example where these filters now work in conjunction with Borlabs cookies and videos.
I like to use this plugin myself – and would like to upgrade from my 1.9.9 Agency license to 2.0 soon, so it would be interesting for me to know if everything works fine with Enfold.The plugin still works well – you only had to set a rule for the class that will wrap the searched terms.
f.e..hilite { background: #fff67a !important; color: #000 !important; }
June 30, 2019 at 8:54 am in reply to: Adding a custom scripts to the head section in my wordpress #1114571PS : please always use here on board for code the code-block tag – it is easier to test for us by copy paste the codes inside – as you can do now with the code above.
June 30, 2019 at 8:50 am in reply to: Adding a custom scripts to the head section in my wordpress #1114570in head section you can try this in child-theme functions.php:
add_action( 'wp_head', 'custom_tracking_script' ); function custom_tracking_script() { ?> <!– Hotjar Tracking Code for http://www.digitalsuccessguide.com –> <script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:1383965,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script> <?php }
this is definitly the right way to embed but if the script isn’t loaded with warnings – you have to check the the code from hotjar
-
This reply was modified 6 years, 3 months ago by
-
AuthorPosts