Forum Replies Created
-
AuthorPosts
-
March 16, 2020 at 6:11 pm in reply to: 4.7.3 JS Merge & Compression aviaAsset_avia-head-scripts error-generating-file #1193558
We also ran into this issue. We disabled all caching from enfold theme for a temporary fix.
September 5, 2019 at 5:01 pm in reply to: Update 4.6 makes cookie consent reload every time #1134513Thanks for the updates
September 5, 2019 at 2:12 pm in reply to: Update 4.6 makes cookie consent reload every time #1134421Any updates on this from the devs, we have also cookie issues with our google service like analytics and ADS
- This reply was modified 5 years, 2 months ago by vonwelzen.
September 4, 2019 at 12:31 pm in reply to: Update 4.6 makes cookie consent reload every time #1133805We have the same issue with the cookie consent bar showing up on every page after the update.
Thanks for the response we will see how to fix this.
If you want to look:
Does this also work for Enfold 4.3.1 ?
September 26, 2017 at 11:54 am in reply to: Font change without any changes made to the website #856890Yes you were correct i think it was a caching issue Thannks!
September 12, 2017 at 3:24 pm in reply to: Font change without any changes made to the website #851045Hi Ismael, thanks for the code but I can’t get it to work. When I pasted the code in a demo site i have running also with enfold and I can select Cookie for headings and josefin sans for tekst and it show correct in the example (see screen 1).
But when I saved the styling it changes to Arial for tekst and also on the front end cookie is not the heading text (see screen 2 & 3).
screen1: https://imgur.com/GXZtZXC
screen2: https://imgur.com/NZdt3iu
screen3: https://imgur.com/uuqSpAgThis is the code I use:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Cookie'] = 'Cookie:400'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Google fonts']['Josefin Sans New'] = 'Josefin Sans:100,100i,300,300i,400,400i,600,600i,700,700i&subset=latin-ext'; return $fonts; }
September 9, 2017 at 5:03 pm in reply to: Font change without any changes made to the website #849970Thanks a lot Ismael this worked perfect. I know Cookie only has one font weight but I need to select it for the headings. How do I add cookie for the headings? I tried the code below and it shows perfect in backend but on front-end it takes helvetica replacement font. Any idea?
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Cookie'] = 'Cookie:400,700'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Google fonts']['Josefin Sans New'] = 'Josefin Sans:100,100i,300,300i,400,400i,600,600i,700,700i&subset=latin-ext'; return $fonts; }
September 6, 2017 at 10:11 pm in reply to: Font change without any changes made to the website #848861Hi Ballis, the font is not removed it has changed.
So now all fonts are thicker i want to revert back to other thickness but font-weight doesnt apply so i have to add the josefin sans font again with different font-weights but i dont’t know how to add it. Hope this makes more sense :)
This shows my problem: https://forum.blocsapp.com/t/stumped-about-josefin-sans-and-recent-weight-change/1848
I tried adding different font weights llike this:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Cookie'] = 'Cookie:400,700'; $fonts['Cookie'] = 'Cookie:400,700,400italic,700italic'; $fonts['Josefin Sans'] = 'Josefin Sans:300,200,100,400,500,600,700'; $fonts['Josefin Sans'] = 'Josefin Sans:400,700,400italic,700italic'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Cookie'] = 'Cookie:200,400,700,400italic,700italic'; $fonts['Cookie'] = 'Cookie:200,400,700'; $fonts['Josefin Sans'] = 'Josefin Sans:300,200,100,400,500,600,700'; $fonts['Josefin Sans'] = 'Josefin Sans:400,700,400italic,700italic'; return $fonts; }
But during inspect it looks like it only loads 2 font weights.
//fonts.googleapis.com/css?family=Cookie:400,700,400italic,700italic%7CJosefin+Sans:400,700,400italic,700italic
- This reply was modified 7 years, 2 months ago by vonwelzen.
Hey Victoria, this is on a local environment.. Can I provide information some other way or do I have to put it live?
Great Andy!!! Thanks for the Css If anyone else has this problem you can change background color of the overlay you can use this css:
.mfp-bg { background: #000000; opacity: 1 !important; }
OR do I need to put the site online for you to check? please let me know ? If it is not possible i would like to know if you are able to change the black around the video? Because we use video on top of video it is very disturbing if you see both video’s playing.
- This reply was modified 7 years, 11 months ago by vonwelzen.
https://vimeo.com/158738552 This is the video it is Full HD. 1920px by 1080px. Is it possible to just make it standard full screen no matter the screen size of the user? This way it is also responsive.
Hi Basilis,
It is currently in staging environment. But is an exact clone of the demo site link I posted before(http://kriesi.at/themes/enfold-startup/). I can put it online if you need it?
The same background with video then open on click player
- This reply was modified 7 years, 11 months ago by vonwelzen.
Hi Andy, Thanks for your quick reply. We have gone over all the settings and we can’t find any difference. I have made 2 copies of the sites on a staging environment. Below are the details. Are we missing something ? I can’t see the difference in settings :(
Hi andy,
I managed to contact the owner of the site: http://www.ricru.com/blog/ and there is no custom work work done by a developer is is supposed to be a Theme feature. COuld you easily explain how to achieve the timeline effect on the blog overview page ?
Could you please elaborate the steps I have to take to create a blog page with the same timeline? Please feel free to change the blog page to the timeline layout if it is possible.
Dear Vinay, sorry for the inconvenience please check the private section
Vinay,
The username and password are placed in the private data. I will also provide you with the site that has the blog i want. I cannot export it as I am not the creator of this website
- This reply was modified 8 years, 1 month ago by vonwelzen.
Hi Rikard, thanks for your reply. Please check the private section for the login details. I have managed to replicate some of the style via css. but please feel free to delete the css if it can be done with settings.
The css i added:
#top .fullsize .template-blog .post .entry-content-wrapper > * { margin-left: auto; max-width:100%; } #top .fullsize .template-blog .post .entry-content-wrapper { text-align:left; font-size: 1.15em; line-height: 1.7em; max-width: 100%; margin: none; overflow: visible; } #top .fullsize .template-blog .post .entry-content-wrapper > * { max-width: 100%; text-align: left; } .fullsize .template-blog .post-title {text-align:left !important;} .fullsize .template-blog .post-title { text-align: left !important; font-size: 30px; padding: 15px 0; max-width: 100%!important; margin:none !important; } .fullsize .template-blog .post-meta-infos { text-align:left !important; } #top .fullsize .template-blog .blog-meta { float: right; margin: 0 auto; display: block; position: relative; width: 81px; overflow: hidden; text-align: center; z-index: 1000; }
I know these are the shortcodes for the section. But is it possible to load these AVIA shortcodes after the content on every page with hook like ava_after_main_container. or use shortcodes like echo do_shortcode(“[shortcode]”); Thanks in advance for the great help!
[av_section min_height='75' min_height_px='500px' padding='large' shadow='no-border-styling' bottom_border='no-border-styling' id='demo-aanvragen' color='main_color' custom_bg='' src='http://www.elephantdevelopment.nl/ricru/wp-content/uploads/2015/02/demo-aanvragen.jpg' attachment='583' attachment_size='full' attach='parallax' position='center center' repeat='stretch' video='' video_ratio='16:9' overlay_enable='aviaTBoverlay_enable' overlay_opacity='0.8' overlay_color='#0e76bc' overlay_pattern='' overlay_custom_pattern=''] [av_one_full first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_heading tag='h1' padding='10' heading='<strong>Gratis demo</strong>' color='custom-color-heading' style='blockquote modern-quote modern-centered' custom_font='#ffffff' size='40' subheading_active='subheading_below' subheading_size='20' custom_class=''] Wil je ervaren hoe recruitment weer leuk wordt voor jou? Vraag de gratis demo aan en we laten het je zien. [/av_heading] [/av_one_full][av_one_third first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_codeblock wrapper_element='' wrapper_element_attributes=''] [contact-form-7 id="1244" title="Contactformulier 1"] [/av_codeblock] [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [/av_one_third] [/av_section] [av_section min_height='' min_height_px='500px' padding='no-padding' shadow='no-border-styling' bottom_border='no-border-styling' id='code-block' color='main_color' custom_bg='' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern=''] [av_codeblock wrapper_element='' wrapper_element_attributes=''] <div class="demo-cta"> <a href=#demo-aanvragen> <img src=/ricru/wp-content/uploads/2016/07/demo-aanvragen.png> </a> </div> [/av_codeblock] [/av_section]
- This reply was modified 8 years, 2 months ago by vonwelzen.
I want to load this section on evey page: http://imgur.com/sW6JsGB
It is some simple code and a contact form. Can I load this on every page using functions?
Oke this will make the button dynamic but can I also make the demo blok on the bottom of the page dynamic so if I were to change the text of the bottom content section it would change on every page?
Hi Yigit,
Please take a look at the link I posted. I already added the image fixed to the side of every page referring to a content section on the bottom of the page using “<a href =#name. etc” So it works exactly as I want to. The problem is that if i want to change for example the tekst of the content section i have to do it on each page.
my question: Is it possible to make this dynamic so everytime i create a page it will load the image and the content section by default. So any change si make it will change it throughout the site.
This is the answer: for anyone who has the problem as well:
function(element) {
jQuery(document).on(‘click’, ‘.mute-video’, function (){
if (jQuery(“video”).prop(‘muted’)) {
jQuery(“video”).prop(‘muted’, false);
jQuery(this).addClass(‘unmute-video’);} else {
jQuery(“video”).prop(‘muted’, true);
jQuery(this).removeClass(‘unmute-video’);
}
});
}They also send me this. I tried to copy past the exact code snippet in the callback function but i still can’t get it to work.
You can mute your video by default with the ‘muted’ attribute:
Using jQuery’s .on() method should look like this:
$(document).on(‘click’, ‘.mute-video’, function (){
if ($(“video”).prop(‘muted’)) {
$(“video”).prop(‘muted’, false);
$(this).addClass(‘unmute-video’);} else {
$(“video”).prop(‘muted’, true);
$(this).removeClass(‘unmute-video’);
}
console.log($(“video”).prop(‘muted’))
});Please note that WordPress uses jQuery’s .noConflict() mode, so you might need to use the ‘jQuery’ keyword instead of the dollar ($) sign.
You can place the above JavaScript code wherever you want to add it, or leave it in the cbInit callback. Using the .on() method will ensure that the event handler will execute even if videos added/removed later. Due to this behavior you might want to use a more specific selector instead of just $(‘video’). For example $(‘.ls-slide video’) will find only the videos inside a slider.
I also got some information from the guys at layer slider themselves. they told me this:
Hello,
You need to put the HTML to an “HTML / Video / Audio” layer, the CSS into the CSS Editor that can be found on the WP sidebar and the javascript code into a callback function or you can use a delegated event with the jQuery .on() function.
—
Kind Regards,
Attila – Kreatura Media SupportI don’t know the correct markup for this function jQuery .on() function. Could you guys help in this matter?
- This reply was modified 9 years, 1 month ago by vonwelzen.
Yes i also tried it in a textblock. I put a dummy video in it to get it to work. In de private section there is a login so you guys can check it out.
- This reply was modified 9 years, 1 month ago by vonwelzen.
-
AuthorPosts