Forum Replies Created
-
AuthorPosts
-
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 7 years, 8 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 7 years, 8 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 7 years, 8 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 7 years, 8 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.
headings are Lato and text is Open Sans
March 15, 2017 at 9:25 am in reply to: Fontello Icons showing up as squares (and asian characters). #761239can you give me a link too – i’m participant as you but with over 1600 postings a bit skilled for enfold.
on your own site i can’t find some difficulties.March 15, 2017 at 9:08 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761223hast du einen direkt link dahin – ich finde die 5 spalter nicht
ich hatte ganz bewußt auf diese Spanne gestellt. Wenn es zu klein wird um gesehen zu werden ist es auch doof oder?
480px ist die Handy Querformatmarke.
Wenn du auch auf dem Handy im Hochformat das haben willst musst du die untere Marke auf 320px stellen
oder gar noch kleiner einstellen – ein Link wäre genial, weil dann kann man optimieren.
ZB würde ich dann das padding links/rechts wohl verringern Mobilen Fall ( du hast das generell auf 15% – finde ich recht üppig bei 320px breite.und btw. wenn du von 4 auf 5 Spalten stellst musst du jedesmal leider auf die erste Spalte gehen um dort die Parameter neu einzustellen.
(individuelle Höhe, und kein Platz zwischen den Spalten – denn ich glaube per default ist das auf equal height und space gestellt)March 15, 2017 at 12:54 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761063bei 5 er columns geht es ähnlich
wie gesagt ich habe mal auf der Testseite das so angelegt : 1/5 dann individuelle Höhe (sonst ist das auf display: table-cell) und keine Zwischenräume (die lege ich selbst fest.dann :
#top .no_margin.av_one_fifth { width: 18%; } #top div .no_margin { margin-left: 2% !important; margin-top: 0; } @media only screen and (min-width: 480px) and (max-width: 990px) { #top .no_margin.av_one_fifth { clear: none !important; width: 48% !important; } #top .no_margin.av_one_fifth:nth-child(2n+1) { clear: both !important; } }
mit den Abständen kannst du ja was spielen.
wichtig ist eben: kein clearing über die columns bis auf (2n+1)das ist noch nicht ganz perfekt, weil da jetzt links rechts ein anderer Abstand ist.
man könnte dann für #top .no_margin.av_one_fifth.first was setzen etc. – aber so sieht es auch schon besser ausMarch 15, 2017 at 12:14 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761058ach schon mal ne Lösung für die Footer Problematik (auch hier sind es ja 5 Säulen) du hast dort die Schrift verkleinert – brauchst du so garnicht.
Du kannst aber auch hier auf 2 2 1 gehen
du siehst die media querries pixelwerte kannst du ja dann deinen Bedürfnissen anpassen.@media only screen and (min-width: 480px) and (max-width: 989px) { #footer .av_one_fifth { margin-left: 0% !important; width: 50% !important; } .responsive #footer div .av_one_fifth:nth-child(2n+1) { clear: both !important; } }
March 15, 2017 at 12:03 am in reply to: Clearing issue in mobile 1/5th columns with 50% width #761056hast du eine seite wo auch 5 sind?
March 14, 2017 at 11:41 pm in reply to: Clearing issue in mobile 1/5th columns with 50% width #761038https://webers-testseite.de/kokon/fifth-columns/
i only can help best if i see your page
these are 1/5th columns with image and text under it. The columns are from individual height and with no space between
March 14, 2017 at 10:50 pm in reply to: Clearing issue in mobile 1/5th columns with 50% width #761014what is the thing you like to have? 2 2 1 or maybe 1 2 2 (1 in center above)
the thing is here to work with nth:child options and clearingsis there a link for a participant as me?
March 14, 2017 at 10:42 pm in reply to: Fontello Icons showing up as squares (and asian characters). #761013you lost something – try this in htaccess file: Link
<FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>
March 14, 2017 at 10:39 pm in reply to: Automatic Resized Upload-Images become more KB than the original #761007a bit offtopic but in the same direction:
Wordpress itself got an image quality tool – this is in a good meaning but if the image creator knows his job excellent sometimes the 90% jpg is bad quality but more space. To avoid this from wp induced process add this to functions.php child-theme:add_filter( 'jpeg_quality', create_function( '', 'return 100;' ) );
-
AuthorPosts