Forum Replies Created
-
AuthorPosts
-
March 24, 2017 at 2:08 pm in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #766174March 24, 2017 at 1:20 pm in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #766129
that is to complex the line in the code :
array_unshift($paths, $template_url.'/shortcodes/');
gives the folderstructure :just a folder “shortcodes” (or in case to replace a script “js” ). and in it the files – but as i described above since 4.0.3 this “half-worked”
The new files are loaded to dashboard – appearance – editor. but the changings of those files has no influence.
When i overwrite the original by the new one – changings take place. So i’m now a bit helpless too!-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 24, 2017 at 8:33 am in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #765988i solved this – download go ahead.
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 24, 2017 at 8:21 am in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #765982March 23, 2017 at 8:10 pm in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #765707does that code work anymore? because allthough the the new shortcodes are seen in Dashboard Editor the changings have no influence any more – if i overwrite the original file it works as Krzysztof said
i have installed on that testinstallation Enfold 4.0.3
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 23, 2017 at 6:44 pm in reply to: Add changes in config-templatebuilder\avia-shortcodes in childtheme #765651how do you garantee that the child-theme shortcode was taken?
i hold the same structure when i want to replace a shortcode.
So my subfolder is the same name (shortcodes) in Child-Theme folder and than i put in functions.php of child-theme the following:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
Download of textfile (gezipped) https://webers-testseite.de/kokon/Enfold-theme-2017.zip
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 22, 2017 at 6:58 pm in reply to: Enfold Remove left & right padding margins on videos in color sections on mobile #764993Well i try to give the .container a class if it contains a .avia-video class:
this to functions.php in child-theme
function add_video_style(){ ?> <script type="text/javascript"> (function($){ $(window).load(function() { if ($(window).width() < 480) { $('.container').has('.avia-video').addClass('video-test'); } else { $('.container').has('.avia-video').removeClass('video-test'); } }) $(window).resize(function() { if ($(window).width() < 480) { $('.container').has('.avia-video').addClass('video-test'); } else { $('.container').has('.avia-video').removeClass('video-test'); } }) })(jQuery); </script> <?php } add_action('wp_footer', 'add_video_style');
with:
.container.video-test { max-width: 100% !important; width: 100% !important; }
but i can not select specifically the other containers adjacent to avia-video
as Rikard said: In this case you have other content in the same container so it would make that content go full width as well.oh – wow – thanks ismael – works like a charm!
Sorry for my late reply. – i do work on a different installation now. But this is great – Thanks
in avia.js on line 1765 there is the
burger_wrap.click(function(e)
to change it to hover by :
burger_wrap.hover(function(e)
is simple but does not bring the solution.
So it does not work yet : It opens than but on leaving the (close button ) it closes immediately.-
This reply was modified 8 years, 3 months ago by
Guenni007.
if you manage that – you can try to insert this to your functions.php of child-theme:
function add_touch_fix(){ ?> <script>document.addEventListener("touchstart", function(){}, true);</script> <?php } add_action('wp_footer', 'add_touch_fix');
on pads and phones it will give you a click-function by touchstart.
March 21, 2017 at 7:28 pm in reply to: "X" to close mobile menu is no longer displaying on my home page #764316Without your site i stop support from me now.
Sorry – as you now can see – the scroll down button goes to the maximum bottom of all. Because the ID : fb_root is the last ID in all Enfold pages/posts (its just before body closes after all scripts)Maybe you have set the submenu to be a sticky one – so it is indeed at the top of the sceen. I have on the example page set it to not be sticky.
So look what happens than.March 21, 2017 at 9:15 am in reply to: "X" to close mobile menu is no longer displaying on my home page #764069on your site it is in firefox osx the same thing.
btw : You have a shift of the header element when scrolling down – is this normal enfold behavior of header not visible until you scroll down ?the top value of that button is for the hide button to much:
#advanced_menu_hide { top: 40px; }
and for me it was a bit strange to see content under the mobile nav. :
if you place that code the hide button was imediately visible – you only have to shift it to the right place – see above#mobile-advanced { height: 100% !important; }
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 21, 2017 at 8:54 am in reply to: "X" to close mobile menu is no longer displaying on my home page #764067did you proof if it is there but not visible?
sometimes it is simple a background-color problem. (on default it is the statusquo for that zoom-glas icon – white on white).av-burger-overlay-active #top #wrap_all #menu-item-search a, .av-burger-overlay-active #top #wrap_all #menu-item-search a:hover { color: #fff; }
try to insert this and have a look :
.av-burger-overlay-active #top .av-hamburger-inner, .av-burger-overlay-active #top .av-hamburger-inner::before, .av-burger-overlay-active #top .av-hamburger-inner::after { background-color: #0088bd !important; }
March 21, 2017 at 3:06 am in reply to: Fontello Icons showing up as squares (and asian characters). #763940please again the code to htaccess is:
<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
in contrast to your input (first you lost the first line now again one line is missing):
<FilesMatch “.(eot|ttf|otf|woff)”> Header set Access-Control-Allow-Origin “*” </FilesMatch>
and i don’t know if the place is the right one
do not insert code there – this is htaccess entry by wordpress itself – try this here:
btw: mod_headers.c is different to mod_rewrite.c !<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
if so here is the code goes to functions.php of your child-theme:
function scroll_to_bottom() { ?> <a class="avia_pop_class" href="#fb-root"><div title="scroll to bottom" class="scrolldown"></div></a> <span class="avia_hidden_link_text">Scroll to bottom</span> <?php } add_action('ava_main_header' , 'scroll_to_bottom');
this here goes to quick css:
a .scrolldown { left: 2px; position: absolute; top: 2px; } a:hover .scrolldown:before { background-color: #fff; border: 1px solid #ebebeb; color: #000000; opacity: 1 } a .scrolldown::before { content: "\e873"; border: 1px solid #aaa; color: #999; font-family: entypo-fontello; font-size: 24px; font-weight: bold; height: 40px; line-height: 40px; position: absolute; text-align: center; width: 40px; transition: all 0.5s ease-out 0s; }
-
This reply was modified 8 years, 3 months ago by
Guenni007.
well now see here first – is this the thing you like to have ( top left position)
https://webers-testseite.de/kokon/pages/faq/(do not look to the logo – it is a next trial an error thing of my testings)
click on that little arrow
well the scroll-top function is on shortcodes.js line 1552
scroll_top: function() { setTimeout(function() { var target_offset = target_wrap.offset().top - 175, window_offset = win.scrollTop(); if(window_offset > target_offset || target_offset - window_offset > 100 ) { $('html:not(:animated),body:not(:animated)').animate({ scrollTop: target_offset }, options.timing, options.easing); } },10); },
and stackoverflow is full of good hints for a function with scroll-bottom behavior.
Or much simpler : place a button as you like and link to the anchor #footer (or #socket) – the anchor link is animated as well in enfold.March 17, 2017 at 10:25 pm in reply to: how to get the header logo to overlap slider and return to header when scrolling #762764if that is good enough? Link
but for behavior on responsive case – sorry i do not have the time to go here further
March 17, 2017 at 9:10 pm in reply to: how to get the header logo to overlap slider and return to header when scrolling #762729well i think you have to go deep in avia.js
because what you want is that the shrink amount of the header is less than that of the logo itself.search for the function
function avia_header_size()
to change the amount from 50% to f.e 10% it is ok ( and there are alot of discussions here on board)
but if that what you like to have is work for a normal support – i don’t knowyou mean a normal table or that enfold pricing table?
look here http://kriesi.at/themes/enfold-2017/elements/tables/
if it is a normal one- like the last one – you can adress (select) each coloumn by :.avia-table-5 th:first-child {width: 30%} .avia-table-5 th:nth-child(2) {width: 20%} .avia-table-5 th:nth-child(3) {width: 25%} .avia-table-5 th:nth-child(4) {width: 25%}
so give the table a custom class f.e. tablestyle1 and go this way
.tablestyle1 th:first-child {width: 30%} .tablestyle1 th:nth-child(2) {width: 20%} .tablestyle1 th:nth-child(3) {width: 25%} .tablestyle1 th:nth-child(4) {width: 25%}
first look into your media and click the logo – see what url was concerned to it. If there is a https you only have to erase the input in logo field of enfold options dialog. Save the setting without logo – than reenter it and save again.
I guess that would do the trick.by the way – i sometimes play with enfold options – for example having the boxed version with a background image – or a logo for transparency options. Going back to stretched layout the field f.e. of body background is hidden – but former entries are in. These setting are often forgotten.
But in your case it is only the logo.On shop: shop-banner-1-495×200.jpg
open that color section above and reload the background image
Yes – see private Content
without your page as a link – i can not help you.
i myself changed my personal websites to https which are allready installed.
there are some good plugins (me as a german i prefer search&replace) which can directly search for strings in the database and replace them in all tables. So you can search for http://yourdomain and replace it by https://yourdomain (do not try tor search only for http – https – because all existing https will change to httpss)
Sometimes these are f.e. in quick css absolute positioned images etc. pp. To help you it will be best to see the site.you have to create a folder in your child-theme folder – call it “shortcodes”
put in the columns.php of josue in that folder and
place this to your child-theme functions.php:add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }
the code is good – but the second logo is missing.
How did you insert the second logo ?i prefer this method via functions.php of child-theme
function second_logo($logo) { $logo .= '<strong class="logo second-logo"><a href="url2" target="_blank">' ; $logo .= '<img src="url to you second logo" />'; $logo .= '</a></strong>'; return $logo; } add_filter('avf_logo_final_output', 'second_logo');
afterwards you can set this second-logo to display: block with:
.header-scrolled .second-logo > a > img { display: block !important; }
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 15, 2017 at 1:07 pm in reply to: Clearing issue in mobile 1/5th columns with 50% width #761384ok – so geht es ja jetzt
PPS:
setze mal in quick css:
#mobile-advanced { background-image: url("http://ahlers-vogel1.x-production.com/wp-content/uploads/2016/10/Ahlers-Vogel_Logo.png"); background-position: left top; background-repeat: no-repeat; background-size: 40% auto; padding: 10% 0 !important; }
und schau dann in das mobile menu rein
eventuell nimmt man da auf Grund deines grauen Hintergrundes ein anderes Logo ( ganz Weiss vielleicht oder composite)your welcome
March 15, 2017 at 11:05 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761296bitte nichts mehr ändern: und folgenden code einfügen (den rest bitte löschen)
@media only screen and (min-width: 320px) and (max-width: 990px) { body .column-top-margin { margin-top: 0; } div .av_one_fifth { margin-left: 2% !important; width: 44%; clear: none !important } div .av_one_fifth:nth-child(2n+1) { clear: both !important; } }
-
This reply was modified 8 years, 3 months ago by
Guenni007.
March 15, 2017 at 11:01 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761287immer genau lesen – ich war ja von den Einstellung individuelle höhe und kein Abstand ausgegangen – bei dir ist es jetzt:
#top .av_one_fifth { width: 18%; } @media only screen and (min-width: 480px) and (max-width: 990px) { #top .av_one_fifth { clear: none !important; width: 48% !important; } #top .av_one_fifth:nth-child(2n+1) { clear: both !important; } }
die no-margin anweisung ist auch dann hinfällig gewesen weil du ein top-margin definiertest.
was ich mit Einstellungen meine: die erste 1/5 tell Spalte bestimmt das Verhalten der 4 nachfolgenden. Wenn du jetzt von einem 4 Spalter auf einen 5 Spalter wechselst, springen die 1. Elemente der folgenden Reihen als 5. Element eine Reihe höher. Und das ursprünglich 2. 1/5tel springt auf den ersten Platz. Diese Columns sind aber per default auf equal height und space eingestellt. Daher musst du beim Ändern auf 5 Spalter alle ersten Spalten die Einstellungen dort prüfen.
-
This reply was modified 8 years, 3 months ago by
-
AuthorPosts