Forum Replies Created
-
AuthorPosts
-
January 11, 2018 at 12:24 pm in reply to: Add Enfold Widgetarea to main content / special parts of the template #896129
first to your second widget area. On using the alb editor of enfold there are to many possiblities to place a widget to. So enfold comes with an predefined widget alb element you can place it whereever you like ( called Widget Area )
to your first request: what was the code you entered in functions.php of your child-theme to place the header widget area?
on my end i noticed three different codes to have different places:
/*********header widget ****************************/ add_action( 'ava_after_main_menu', 'enfold_customization_header1_widget_area' ); function enfold_customization_header1_widget_area() { dynamic_sidebar( 'header1' ); } /*********************************/ /*********header widget area before **********/ add_action( 'ava_main_header', 'enfold_customization_header2_widget_area' ); function enfold_customization_header2_widget_area() { dynamic_sidebar( 'header2' ); } /**********************/ /*********header widget area just right after main container starts **********/ add_action( 'ava_after_main_container', 'enfold_customization_header3_widget_area' ); function enfold_customization_header3_widget_area() { dynamic_sidebar( 'header3' ); } /**********************/
pay attention – i renamed the functions and widget areas to 1,2, 3 to avoid double function names and to have the possibility to use all of them as
header1, header2, header3 areasby the way you can force the opening of your site in https mode by htaccess file.
There are some help on that – google for it. (force https htaccess)
because a lot of people may have stored your site with non https link – with that they are redirected
i used:RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
or
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
-
This reply was modified 7 years, 1 month ago by
Guenni007.
Yes – because i added to your fix an own rule:
#top .av-video-slide .mejs-container { width: 100vw !important; }
with that the issue is not there anymore.
But an update would be better to have to fix that troubles.____________________
so now on my quick css is:
.mejs-layer { z-index: 1; width: 100% !important; } div .avia-video .mejs-container, div .avia-video .mejs-container video { height: 100%!important; width: 100% !important; position: absolute; } #top .av-video-slide .mejs-container { width: 100vw !important; }
go to your root directory of your wordpress installation via ftp. Activate your ftp client to show invisible (hidden) files ( those with the dot in front like .htaccess too) there is a .maintenance file – delete it. (under filezilla it is on menu point “Server” – force to show hidden files)
now you have access to your site again. If not and you can not login to your admin account – tell us.switching to https is not a specific Enfold thing. It is allways the same like on any other wordpress installation.
i do allway install before changing anything the plugin search & replaceAfter that i change the urls in dashboard – settings – : wordpress url and website url to https.
After that you has to login again. Than goto search and replace under tools ( you can do that by mysql but this way is much easier.)
Important: just do it – First Tab is for saving the DB by crating a sql file –
second tab is for search and replace actionsearch for : http://your.domain
replace by: https://your.domain! Make a proof if your writing is correct at all
activate all tables ( i do not make a test – i made the mark at write direct to DB.
thats all
Attention: do not only search http and replace it by https (all links including the links to external scripts (google api etc) are affected than.-
This reply was modified 7 years, 1 month ago by
Guenni007.
shure – i want to get rid on all devices and i see it in any browser on desktop devices- that it will work
but on i pad i can touch on the images and the author page opens
see private contentedit : maybe the css : touch-action will solve the problem by setting it to none (similar to pointer-event)
edit-edit: safari does not support touch-action – only auto and manipulation works on safari ios but not the none rule
-
This reply was modified 7 years, 1 month ago by
Guenni007.
it is the often discussed bug for video-background on color-section since enfold 4.2
the starting of the video is a bit buggy til the fix works
The fix i used was your advice:.mejs-layer { z-index: 1; width: 100% !important; } div .avia-video .mejs-container, div .avia-video .mejs-container video { height: 100%!important; width: 100% !important; position: absolute; }
make the browserwindow wide but not so high ( panorama format )
-
This reply was modified 7 years, 1 month ago by
Guenni007.
Well i decided to get updraftplus premium unlimeted licences!
it is not so expensive – and has good renewal bargains. It has all features i like including sheduled backups on remote places (ftp or clouds )
Can be closedbtw : 500 Internal Server Error
Nevetheless – thanks Basilis – but i’m looking for a tool with fair costs.
I don’t like those things with yearly costsJanuary 4, 2018 at 2:36 pm in reply to: how tho switch header_right to header_left for specific pages #893251sorry Ismael – for late reply.
i was afraid of that.Nevertheless Thread can be closed. I managed for that specific webpage now a Multisite Solution. And that makes some settings obsolete.
f.e. the request to have different main menus on some pages etc.Thanks as always
yes the lang files of wordpress itself is fi (WP Locale is the focus for ) too : https://make.wordpress.org/polyglots/teams/?locale=fi
hm – i did not see that warning –
but i can not realy believe that a web page like this one – I assume with a good sales amount is using a lets encrypt cert.
Ok – for some private websites this might be an acceptable solution. But for the reputation of kriesi and for enfold an ev cert (Comodo EV SSL for 140Euro/year or comodo postiveSSL EV for 68Euro/year) should be not too expensive i guess. These got green adress bars and are nearly a 100% browser and mobile browser compatible, and your siteconstruction even on your demosites there is not even a wildcard cert needed. All is under kriesi.at/Goto Dashboard – Enfold (child) – Social Profiles … delete the entries of kriesi
but with your very dark background it will be better to have a somewhat glooming with light “behind” it:
#wrap_all { box-shadow: 0 0 50px #fff; }
ok a black shadow will look good too!
#wrap_all { box-shadow: 0 0 100px #000; }
do you have more than one post ?
do you use on top a slider ( full-width ) alb element?
on that last case – it is not there because slider navigation should not be disturbed by post navigation prev/next
– but you can reactivate it by this snippet in your functions.php of your child-theme:add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1); function avia_remove_fullwidth_slider_check($settings){ $settings['is_fullwidth'] = false; return $settings; }
you can mimic it by having a 1/5 th grid layout and put in each a 1/5 comlumn thats 25 “columns” only but you will see that this won’t look good
https://webers-testseite.de/test-2/-
This reply was modified 7 years, 1 month ago by
Guenni007.
December 22, 2017 at 11:59 am in reply to: how tho switch header_right to header_left for specific pages #891539yes – but i only want to change the header_position from header_left to header_right.
so i put in:
add_filter('avf_header_setting_filter','av_change_header_style'); function av_change_header_style($header) { if( is_page('332') ){ $header['header_position'] = "header_right header_sidebar"; } return $header; }
this works – but i have to make a lot of style adjustments ( f.e. .avia-post-prev and .avia-post-next – the position) etc. pp
how can i get it that on change the rest will work as if i set it up in enfold options dialog.-
This reply was modified 7 years, 2 months ago by
Guenni007.
December 22, 2017 at 11:13 am in reply to: A way to have an own register-backend-advanced-styles.php in child-theme #891533hm don’t know where my fault was. it now works as expected. % – )
maybe there was a fault by transfering the php-file name manually ;)
can be closed
by the way – is it a video with audio ? i do not here on my solution any audio ???
for responsive case on very small screens you have to find yourself a solution – maybe not to display the video
or to shrink content of the color section beneath etc.in my case to have full-width video:
@media only screen and (max-width: 767px){ .responsive #top.page-id-30380 #wrap_all .container_wrap_first .container{ max-width: 100% !important; width: 100% !important; padding: 0 } }
but there must be a solution than for color-section content – as you can see on my test page above
on advanced layout builder first place a code element on top
after that a color-section with your headings or something else (other alb elements)
to get not in conflict with the video control elements do not choose the 100% height !
but another height will do the job. ( i can not see to avoid that control elements will come to front on video click or hovering)in the code block – do not mark any of the checkboxes ( it is your code with right exclamation marks):
<script src="https://fast.wistia.com/embed/medias/ucj8qub19k.jsonp" async></script> <script src="https://fast.wistia.com/assets/external/E-v1.js" async></script> <div class="wistia_responsive_padding" style="padding:56.25% 0 0 0;position:relative;"> <div class="wistia_responsive_wrapper" style="height:100%;left:0;position:absolute;top:0;width:100%;"> <div class="wistia_embed wistia_async_ucj8qub19k videoFoam=true" style="height:100%;width:100%"> </div> </div> </div>
the code to have now the full-width option is (in this case to be more specific i do infront the page-id): .page-id-30380 .container_wrap_first .container { max-width: 100%; padding: 0 } .page-id-30380 .container_wrap_first .content { padding: 0; } .page-id-30380 #av_section_1 { position: absolute; top: 0; background-color: transparent !important; }
see result here: https://webers-testseite.de/wistia/
December 20, 2017 at 9:54 pm in reply to: is there a way to hide some menu-items onclick a button #890932Das ist ja nett.
ich sende dir mal die Login Daten via deinem SSL Kontaktformular zu.Du siehst dann ja – die beiden Buttons oben, die zu jeweils den Hauptseiten der Sparte führen.
Je nachdem sollen die Menupunkte Naturleben bzw. theater alle ausgeblendet werden.Danke zunächst.
December 20, 2017 at 5:10 pm in reply to: is there a way to hide some menu-items onclick a button #890853But i see now – it does not stay on that status if i click on a theaterpage
so i have to read about your $(event.target)December 20, 2017 at 5:02 pm in reply to: is there a way to hide some menu-items onclick a button #890846Please do not rate my knowledge in javascript too high. – Can you explain it a bit more please!
You can see it here on a prebuild page: Link
see both buttons above the logo – but if i want to open a page (left button landing page – right button Theater Page) i do not really now how to optain it.December 20, 2017 at 4:36 pm in reply to: A way to have an own register-backend-advanced-styles.php in child-theme #890835hm ? i tried it but only :
add_filter( 'avf_register_custom_backend_styles', 'my_include', 10, 1 ); function my_include(){ $path = get_stylesheet_directory().'/includes/register-backend-advanced-styles.php'; return $path; }
works than for me – in the manner that it does not append it totaly replaces parent file – this will be ok for me. !
So i made a copy of the original file and uploaded an edited file to child-theme includes folderDecember 20, 2017 at 2:53 pm in reply to: is there a way to hide some menu-items onclick a button #890779how does a setup for active state or current state work?
When click on a link the new page is loaded – how than can be a new class come to the active or current state.
This seem to be similar to my request.December 20, 2017 at 2:41 pm in reply to: A way to have an own register-backend-advanced-styles.php in child-theme #890771so i do create a folder on child-theme ( maybe : includes) –
i make a file f.e: register-custom-advanced-styles.php and upload it to that child-theme/includes foldercontent is f.e.:
<?php $advanced['blockquote'] = array( "id" => "blockquote", //needs to match array key "name" => "<blockquote>", "group" => __("HTML Tags",'avia_framework'), "description" => __("Change the styling for all <blockquote> tags",'avia_framework'), "selector" => array("#top [sections] blockquote"=> ""), "sections" => true, "hover" => false, "edit" => array( 'font_family' => array('type' => 'font', 'name'=> __("Font Family",'avia_framework'), 'options' => $google_fonts), 'font_size' => array('type' => 'size', 'range' => '8-80', 'name'=> __("Font Size",'avia_framework')), 'line_height' => array('type' => 'size', 'range' => '0.7-2', 'increment' => 0.1, 'unit' => 'em', 'name'=> __("Line Height",'avia_framework')), 'font_weight' => array('type' => 'select', 'name'=> __("Font Weight",'avia_framework'), 'options' => $weight), 'text_transform' => array('type' => 'select', 'name'=> __("Text Transform",'avia_framework'), 'options' => $transform ), 'color' => array('type' => 'colorpicker', 'name'=> __("Font Color",'avia_framework')), ) );
so what do i do now ?
December 20, 2017 at 3:57 am in reply to: is there a way to hide some menu-items onclick a button #890685yes i know the function – but
there are Two Buttons- the one should open parent-page of all Menu-items A – and should hide menu-items B
- the other one opens parent-page of all Menu-items B – and should hide menu-items A
I want to start by showing first Menu-items A and hide B.
So it is hard to setup the starting point – because on page load of parent-page B it will reset it again.December 19, 2017 at 11:29 pm in reply to: WPML flags next to social media icons in the footer socket #890627you don’t have to name that extra menu “socket” you can take what you want.
but you have to synchronize the name with the wpml menu you set in menu-language-switcherDecember 19, 2017 at 11:28 pm in reply to: WPML flags next to social media icons in the footer socket #890626 -
This reply was modified 7 years, 1 month ago by
-
AuthorPosts