Forum Replies Created
-
AuthorPosts
-
Hello,
I think I solved the issue: instead of using a filter in functions.php, I use the following code I’ve found online in Quick CSS:
@media only screen and (max-width: 480px) { .logo img { opacity: 0; } .logo a { background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png); background-repeat: no-repeat; background-size: contain; background-position: 0% 50%; }}
With this solution everything works when caching is enabled. Thank you, you can close the ticket.
Best regards,
MarinaHello,
The WebP images are delivered by ShortPixel, I disabled the ShortPixel optimization for the logo image and tried to disable the plugin in general, but this did not help. The problem is with caching: the initially cached version of logo remains for all screen sizes. I give you the credentials for the site, please test with clearing cache, producing cache, and viewing the main page on desktop and then on mobile emulator. I tried a different caching plugin – the issue remains. When caching is disabled – everything works as it should.
Best regards,
MarinaOctober 28, 2022 at 1:56 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370560Hello Mike,
Thank you very much for the code, it works perfectly. You can close the ticket.
Thank you again,
MarinaOctober 27, 2022 at 1:18 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370451Hello Mike,
I disabled the Fixed Widget plugin, and you can find the admin credentials in the Private Content area.
Thank you for your help,
MarinaOctober 26, 2022 at 8:27 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370384Hello Mike,
I use PHP v7.4, so it shouldn’t be the problem. I am afraid that to adapt the solution you linked to my needs is out of my abilities. I need to be sticky just the
.widget_recent_entries in blog’s sidebar and the lower text widget on Privacy Policy in English and Russian, and that’s it. Is it possible to change the code you linked like that?Best regards,
MarinaOctober 26, 2022 at 5:08 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370336Hello Mike,
Now my issue is solved, thank you very much for help. I have one more question, if it is out of your scope, is completely fine and you can close the ticket, thanks again for the code.
The issue is with the Fixed Widget plugin: after update to the last version (requirement of PHP 7.2 now), the fixed widget disappears when scrolling up. Please see the links, the last sidebar widget is the fixed one. It can be some conflict with the theme CSS, could you give your opinion?
Best regards,
MarinaOctober 25, 2022 at 2:36 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370171Hello Mike,
Thank you very much, this is exactly what I needed. One more thing: the Russian version of the same page, postid-4613, see the link please. Please add this page to the code as well, the replacement image is the same, since the text is not readable on the thumbnail. I tried to add myself – no success. :)
Thank you,
MarinaOctober 24, 2022 at 5:53 pm in reply to: Replace the thumbnail in portfolio entries navigation #1370023Hello,
Yes, I know this solution, but then on Portfolio (see the link) page I have the same image as well, but I would like to have the old one there.
Best regards,
MarinaOctober 24, 2022 at 1:48 pm in reply to: Replace the thumbnail in portfolio entries navigation #1369976Hello,
I changed the featured image. Was that the final solution or the intermediate step? :)
Best regards,
MarinaOctober 24, 2022 at 1:20 pm in reply to: Replace the thumbnail in portfolio entries navigation #1369968Hello Mike,
I would like to change just the image displayed in the navigation (link1) with another image, that is square (link2), so the result within navigation looks like (link3). But I do not want to change the featured image of the portfolio entry since I would like to have the not square image on the main portfolio page. Is it possible? I know the images I would like to swap are of different aspect ratio.
Thank you,
MarinaOctober 21, 2022 at 4:10 pm in reply to: Border color of search results circles and pagination circles #1369733Hello,
This code does not produce the needed result either. However, the following code works:
.search-result-counter { box-shadow: 0 0 1px 0 rgb(0 0 0 / 50%) !important; }
Thank you for your help, you can close the ticket.
Best regards,
MarinaOctober 20, 2022 at 4:49 pm in reply to: Border color of search results circles and pagination circles #1369630Hello,
The pagination code works, for the search results – still doesn’t work.
Best regards,
MarinaOctober 20, 2022 at 3:36 pm in reply to: Border color of search results circles and pagination circles #1369610Hello,
Does not work, neither of the code pieces, the color is not changing.
Best regards,
MarinaOctober 19, 2022 at 4:22 pm in reply to: Custom footer is not always displayed on the search results page #1369425Hello,
Thank you for your help. You can close the ticket.
Best regards,
MarinaOctober 12, 2022 at 7:14 pm in reply to: Custom footer is not always displayed on the search results page #1368639Hello Guenni,
I have the option page to replace both footer and socket selected, and I mean the display of the footer at the bottom of the page (as on other pages), not within the search results.
Best regards,
MarinaOctober 12, 2022 at 7:09 pm in reply to: Custom footer is not always displayed on the search results page #1368636Hello Ismael,
I moved the Enfold’s About page to drafts, but it did not help. Now if you search for, for example, SITE, the last entry is Portfolio and there is no footer: link1. However, if you search for SYSPROG, the last entry is also Portfolio, but the footer is displayed: link2.
Best regards,
MarinaOctober 2, 2022 at 10:24 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1367349Hello Mike,
Yes, I tried to restore the border myself, but did not succeed. Your code works perfectly, I just adjusted it a bit not to have the double border on mobile:
.js_active .tab:not(.active_tab, <strong>.fullsize-tab</strong>) { border-bottom: solid 1px #E0E0E0; } .js_active .tab.active_tab { border-bottom: solid 1px #fcfcfc !important; }
Thank you very much for all your help, you can close the ticket.
With best regards,
MarinaOctober 1, 2022 at 10:18 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1367241:)
A small problem with non-active tabs (their bottom borders) after my customizations of tabs background colors. The problem is: there is no border. It disappeared after I added
.tab { background-color: #f7f7f7 !important; }
around the end of my long Quick CSS. Could you please help to get the border back?Thank you,
MarinaOctober 1, 2022 at 10:02 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1367238Hi Mike,
Now everything is perfect :), thank you very much. May I ask about another small issue on the same page, or should I better open a new ticket?
Best regards,
MarinaOctober 1, 2022 at 8:43 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1367232Hello Mike,
Thank you very much. I tested, everything seems to be ok. One more thing though, now on mouse hover over these buttons the titles are displayed duplicating the information. Is it possible to hide these but still have the titles in the lightbox?
Best regards,
MarinaSeptember 30, 2022 at 11:42 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1367162Hello Mike,
Maybe the problem is that I have fullwidth buttons, since I specified the Button Title Attribute value for both buttons. I have some code removing titles in functions.php (see below), however, if I remove the code and clean browser’s cache, the titles in the lightbox do not appear. I provide you with the credentials for the site.
function temporary_removal_title_tags(){ ?> <script> window.onload = function() { var links = document.querySelectorAll('img.attachment-square, a, div[title]'); for (var i = 0; i < links.length; i++) { var link = links[i]; link.onmouseover = function() { this.setAttribute("org_title", this.title); this.title = ""; }; link.onmouseout = function() { this.title = this.getAttribute("org_title"); }; } }; </script> <?php } add_action('wp_footer', 'temporary_removal_title_tags');
Thank you,
MarinaSeptember 29, 2022 at 2:47 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1366907Hi Ismael,
Did not help, still nothing, the title is empty.
Best regards,
MarinaSeptember 28, 2022 at 8:40 pm in reply to: Titles of images opened in the lightbox via button are not displayed #1366800Hello,
Please see the link: mfp-title is empty.
Best regards,
MarinaSeptember 10, 2022 at 11:49 pm in reply to: How to disable all tooltips of the Related Entries #1364581Hi Rikard,
Thank you for explanation and the link, finally I solved the issue with the “Hide Titles On Hover: hide tooltip when hover on links” plugin. Thanks again for help and you can close the ticket.
Best regards,
MarinaSeptember 10, 2022 at 1:28 pm in reply to: How to disable all tooltips of the Related Entries #1364523Hello,
I tested it in 3 browsers, in guest mode, with cleared cache, and everywhere there are tooltips. Please see the screenshot.
Best regards,
MarinaSeptember 9, 2022 at 11:26 pm in reply to: How to disable all tooltips of the Related Entries #1364481Hey Ismael,
Does not work, I disabled CSS and Javascript files merging and compression. Please see the provided link, I would like to disable all tooltips (over the thumbnail and over the title) appearing on mouse hover over the “You might also like” block at the bottom of the post.
Thank you,
MarinaHi Nikko,
Thank you for your code, but it also made the whole screen white. I managed with the following code:
.single-post .mfp-img {
background-clip: content-box !important;
background-color: white !important; }You can close the ticket.
Best regards,
MarinaHello Mike,
This works, thank you, you can close the ticket.
Regards,
MarinaHello Ismael,
Please have a look at the same page again, at the last two images in the gallery.
Image1: has transparent regions between mobile screenshots -> looks good in the lightbox, but not that clear in the gallery.
Image2: regions between mobile screenshots are filled with the gallery’s background color -> looks better in the gallery, but worse in the lightbox.I would like to have the transparent regions filled with the gallery’s background color, maybe via custom class, if it is possible.
Thank you,
MarinaHello Mike,
Everything looks good now, thank you. You can close the ticket.
Best regards,
Marina -
AuthorPosts