Forum Replies Created
-
AuthorPosts
-
March 12, 2021 at 12:52 pm in reply to: Fullscreen Slider loads same picture two times in Chrome. #1287659
Hi, i see that this only happens with “Cache Disabled”, so that was my fault. I disabled the cache to get the loader times when the page is not in cache. With cache enabled, i see the same result as you.
Thank you and sorry for confusing :)
Pako
Hi, is there a update on this?
March 6, 2021 at 11:55 pm in reply to: After updating the ENFOLD theme a strange "white padding" appears in sections #1286117Edit the page, open every item inside the page, like text boxes, etc. just open it, close it, and safe the site. this seems to write new code.
Edit: Its enough to edit just one object and save directly after it. The others will be updated to the correct data too.
- This reply was modified 3 years, 8 months ago by Pako.
Yes, i tried it up, under, next to other codes. It just not work. Caching is disabled in developer view in chrome.
Thats all CSS i use currently:
/* Socket (Fusszeile) sichtbar */ @media only screen and (min-width:959px){ #top #socket { position: fixed; width: 100%; bottom: 0; z-index: 999; }} /* Text und Ausrichtung Masonry (Blog, Datenbank) */ .av-inner-masonry-content { min-height: 80px; text-align: center; } .minitext {display: none !important} /* Nach oben Scollen Knopf auf iPhone, iPad */ @media only screen and (max-width: 767px) { .responsive #scroll-top-link { display: block !important; }} /* Vollbild Bilder scrollen unterdrücken */ .avia-fullscreen-slider .avia-slideshow { max-height: 86vh!important; } /* Farbe für die Masonry Beschriftungen */ .main_color .container .av-inner-masonry-content, .main_color .container .av-inner-masonry-content .avia-arrow { background: #fafafa; } /* Masonry maximal 4 Spalten */ @media only screen and (min-width: 1800px) { .responsive.html_av-framed-box .av-masonry-col-flexible .av-masonry-entry.av-landscape-img { width: 49.80%; } .responsive.html_av-framed-box .av-masonry-col-flexible .av-masonry-entry { width: 24.90%; }} /* Inhalte in der Fußzeile am Rand behalten und Kosmetik */ #socket { left: 0; } #socket .container { max-width: 96%; padding-left: 0; padding-right: 0; margin: 0 auto; } footer#socket.container_wrap.socket_color{ border:0px!important; } /* Senden Button unter Kontakt volle Breite*/ #top .avia_ajax_form .button { width: 100%; } /* Comment labels on top of the forum fields */ #top #commentform label { position: relative; left: 0; } /* Kommentarsenden Button in voller Breite*/ #commentform .form-submit input { width:100%; height:46px; } /* Kommentarfeld Webseite ausblenden */ #top #wrap_all .comment-form-url { display: none; } /* Kommentarfelder nebeneinander */ #commentform p.comment-form-author, #commentform p.comment-form-email { display:inline-block; } /* Kommentarfeld-Breite */ p.comment-form-author, p.comment-form-email { width: 49,7%; } p.comment-form-author input, p.comment-form-email input, p.comment-form-url { width: 100%; } /* Kommentarfeld Privacy Checkbox korrekt platzieren */ #top #commentform .form-av-privatepolicy.comment-form-av-privatepolicy label { left: 20px; top: -28px; }
- This reply was modified 3 years, 8 months ago by Pako.
Unfortunately, nothing happens with the provided code.
Thank you. I adjusted the numbers a bit, now it looks very good. Many thanks.
That works fine. Thank you very much.
Hallo.
I used the code above:
function avia_custom_css_code(){ ?> <style> #top #socket { position: fixed; width: 100%; bottom: 0; z-index: 999; } </style> <?php } add_action('wp_head', 'avia_custom_css_code');
which is working fine. Is there a way to have this only on PC but not on Devices with a little screen, like mobile phones. The socket takes to much space there:).
Awesome! Thank you, that works brillant!
This reply has been marked as private.Hi,
i will try to explain.
If you go to this Website, you will see a Database, with Pictures.
Normaly in Fullcreen it looks like this:
You can see, that there are 6 columns in Fullscreen. Some more important entrys use the picture over two columns, normally they use only one. For example here the “Kernkraftwerk” is using 2 columns and 2 rows.
For a better view, i wanted to use in fullcreen only 4 columns. So i set the specific setting in the options of this massonry. That works brilliant, but on the ipad, there are 4 columns used too, which is too much. For this screen size i prefer 3 columns.
So i used the code below to force the 4 columns in fullcreen, and left the setting in the theme by default, so that other screen sizes which are less than big as 1340px, can be automaticaly forced to use 4, 3, 2 or 1 column.
@media only screen and (min-width: 1340px) { #top .container .av-masonry-entry { width: 25%; }}
The code forced the 4 columns on fullscreen correctly BUT the important entrys now forced to use only one column now. For example:
You see that the “Kraftwerk” is using now only 1 column.
Now i want your help to fix this problem. The Result should be like the picture below. 4 Columns with bigger pictures on important entrys like below.
The hope is, to edit or add a code somewhere, to say to the theme… hey, 4 columns are maxiumum. All other you can handle by yourself. Somewhere in the deep of the theme, there should be a trigger, on what site the masonry decides to use 6,5,4….1 Columns on the specific screen size.
Thank you in advance for you help and sorry for the english :).
- This reply was modified 3 years, 9 months ago by Pako.
This works fine. Perfect.
Thank you very much.
January 24, 2021 at 3:21 am in reply to: Masonry of Portfolio Items does not sort correctly #1275007Thank you, i had the same issue. Which is solved be removing the css. Don´t know why that was there.
January 22, 2021 at 6:59 am in reply to: SEO Tool Pagerangers shows dead links _wp_link_placeholder #1274633Is there a update on this. I experiencing this problem with microsoft bing.
Hi. Are you able to move the code to the child theme. I am unsure that i take the right part of the code.
Awesome! Will it stay after an update?
This reply has been marked as private.This reply has been marked as private.Hi same behavior. :(
Hi, yes cache was cleaned before. Adress is Werk32.NET The icon is located in the upper right corner (Youtube Symbol).
- This reply was modified 6 years, 5 months ago by Pako.
Hi. How is the process here. 06/2018 we use the session cookie again.
Hi,
thanks for the answer. I had the same question.
Unfortunately the test reports same issue again, so the script won´t work maybe. May social buttons are next to main menu. I i remove them, the message disappears.
Regards
- This reply was modified 6 years, 5 months ago by Pako.
Found out the Solution. If you use an SSL Encrypted site. You may prevent the browser to access the cookie without ssl. You can change your “avia-snippet-cookieconsent.js” file in the themes js folder as following:
(function($) { "use strict"; $(document).ready(function() { //You can give the Cookie a name here. if (! aviaGetCookie('W32CookieConsent')){ $('.avia-cookie-consent').removeClass('cookiebar-hidden'); } //close btn $('.avia-cookie-close-bar').on('click', function(e) { //Set here how long it will be stored in days, here 30 days var cookieContents = $(this).attr('data-contents'); aviaSetCookie('W32CookieConsent',cookieContents,30); $('.avia-cookie-consent').addClass('cookiebar-hidden'); e.preventDefault(); }); //info btn if($.avia_utilities.av_popup) { var new_options = { type:'inline', midClick: true, // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href. items:{ src: '#av-consent-extra-info', type:'inline', } }; new_options = $.extend({}, $.avia_utilities.av_popup, new_options); $('.avia-cookie-info-btn').magnificPopup(new_options); } else { $('.avia-cookie-info-btn').on('click', function(e) { alert('Default Lightbox must be activated for this feature to work'); e.preventDefault(); }); } //Setze Cookie mit Secure Flag function aviaSetCookie(CookieName,CookieValue,CookieDays) { if (CookieDays) { var date = new Date(); date.setTime(date.getTime()+(CookieDays*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } //Advices the browser to store with the secure flag. So communication with the cookie is allowed only via ssl else var expires = ""; document.cookie = CookieName+"="+CookieValue+expires+"; path=/; secure"; } function aviaGetCookie(CookieName) { var docCookiesStr = CookieName + "="; var docCookiesArr = document.cookie.split(';'); for(var i=0; i < docCookiesArr.length; i++) { var thisCookie = docCookiesArr[i]; while (thisCookie.charAt(0)==' ') { thisCookie = thisCookie.substring(1,thisCookie.length); } if (thisCookie.indexOf(docCookiesStr) == 0) { var cookieContents = $('.avia-cookie-close-bar').attr('data-contents'); var savedContents = thisCookie.substring(docCookiesStr.length,thisCookie.length); if (savedContents == cookieContents) { return savedContents; } } } return null; } }); })( jQuery );
- This reply was modified 6 years, 5 months ago by Pako.
Hi. Yes i have tried. Works fine.
- This reply was modified 6 years, 5 months ago by Pako.
Open the wp-content/themes/enfold/js/avia-snippet-cookieconsent.js with a editor.
Search text for “aviaCookieConsent”, it will appear two times. Rename both entrys to your requested “InfoCookieConsent”.
Safe the file.
Go to the theme settings. Change something there (i changed the text of the cookie notice info). Safe it. This will recompile with the new informations.
Done.
Thats the Name of the cookie.
-
AuthorPosts