yes, it does! Many thanks, @arminunruh !!
qua7
Posts
-
Hide single menu itemMar 3, 2025, 6:06 PM -
Hide single menu itemMar 3, 2025, 5:58 PMThanks, @arminunruh! I added the CSS, but unfortunately it did not work. I tried body.type-category.id-1 #menu-item-442{
display: none;
}
and I also tried:
body.slug-portfolio #menu-item-442{
display: none;
}
but both did not work.
Can you have a look if you find the time? It is about this site: https://dagmarschwelle.com I want to hide the menu item PORTFOLIO when on page (category) portfolio. -
Hide single menu itemFeb 28, 2025, 8:52 PMHi everyone,
I have four items in menu 1 (portfolio, about, contact, blog). Is it possible to hide one item of this menu (portfolio) when the homepage (which is same as 'portfolio') is shown? I tried some custom php (see below), which hid the menu item 'portfolio' when on homepage. But it did not reappear automatically when navigating to a page or project, it only reappeared when I reloaded the page or project. How can this be fixed?
add_filter('wp_nav_menu_objects', 'conditionally_hide_menu_item', 10, 2);
function conditionally_hide_menu_item($items, $args) {
if (is_front_page()) {
foreach ($items as $key => $item) {
if ($item->ID == 442) {
unset($items[$key]);
}
}
}
return $items;
} -
Lightbox on mobileNov 23, 2024, 6:15 PMhm, tapping still does not work on Safari on iPad. Only a swiping movement works.
Tapping works on Safari on iphone though. -
Lightbox on mobileNov 23, 2024, 11:50 AMios 18, so it should be the newest safari version. But it still does not work.
sorry for late reply. -
Lightbox on mobileOct 13, 2024, 10:32 AMhttps://dagmarschwelle.com
I don't think that I use any caching plugin.
I emptied the cache in Safari, it now works on iphone but not on ipad. -
Lightbox on mobileOct 7, 2024, 7:56 PMthank you, Armin. I just updated the addon, but for me it still does not work on mobile.
-
Lightbox on mobileOct 2, 2024, 10:04 PMHi everyone,
as far as I remember lightbox used to work on mobile the same way it worked on desktop: you could navigate to next or previous image by clicking (or touching in the case of mobile). Now navigation only workes by swiping in mobile. Is my memory misleading me - or is this a bug? -
cursor disappearingApr 11, 2023, 2:23 PMmany thanks @arminunruh , under 5.3.5 everything is back to normal!
-
cursor disappearingApr 8, 2023, 9:14 PM@arminunruh - same problem here since I updated to 5.3.4. Cursur does no longer change to pointer when hovering over a link. Custom cursor disappears in Lightbox when moving the mouse. I guess that is a bug because everything worked fine under 5.2.x
www.dagmarschwelle.com
Thanks! -
How to hide mobile menu just for one projectJul 21, 2022, 8:11 PMI would say slug-about should work
-
How to hide mobile menu just for one projectJun 29, 2022, 1:42 PMwow, works great!
Thank you so much for your fast help @arminunruh -
How to hide mobile menu just for one projectJun 29, 2022, 11:45 AMHi everybody,
I have been trying to hide the mobile menu plus mobile site title for one single project (my blog). I tried the following CSS:body.slug-blog .mobile-title,
.navbar,
.burger {
display: none !important;
}This did indeed hide title and burger, but left a blank white space which is disturbing since the background in my blog is black. Also it slightly altered the mobile menu on all other projects and pages.
It is about this project: http://dagmarschwelle.com/blog/
The CSS for mobile is not active at the moment because it did not work.Does anyone of you know a solution which would not only hide mobile title and menu but also the white space at the top?
Many thanks!
-
Some images w/ y-offset have a strange overlap/cutoffMar 31, 2022, 11:27 AMHi @richard & @arminunruh,
just discovered that the two last images in one project were cut off at the top as well. The strange thing is that this only happened in one project.
body.lay-transition-elements-on-scroll .row:last-child {
overflow: initial !important;}did the trick for me, too.
Once there is a fix for this: do I then have to remove that custom CSS?
Thanks!
-
Lightbox skips imagesJul 26, 2020, 1:39 PMThanks, Rich! Looking forward to the fix!!
Best wishes
Dagmar -
Lightbox skips imagesJul 12, 2020, 8:48 PMHi,
as mentioned a couple of days ago by someone else Lightbox skips one or two or even more images when you use mouse cursor (it's ok when you use cursor keys). Everything is up to date and as advised I deactivated and reactivated all (3) plugins. Happens with all browsers. The only thing that resolves the problem is when you reload the page. Everything was fine, until I found out today. Did not make any changes before.Would be great if you could resolve the problem. I will deactivate Lightroom for the time being.
Many thanks! -
http to httpsMay 29, 2020, 1:25 PMHi Marius and Armin,
I know this topic is quite old, but as I did not find any more recent reports: is it safe to switch from http to https now?
Many thanks!
-
2 errors in error consoleMay 20, 2020, 10:53 AMDear Marius,
link via chat.
But as I said I see this on most Laytheme sites that I checked, so it must be a general problem.
-
2 errors in error consoleMay 19, 2020, 11:47 AMHi,
when I open Safaris web inspector it shows two errors:I tested a couple of other websites designed with Laytheme and found the exact same errors. So I guess it must be a general problem.
Not sure whether this is of any importance, but maybe it could be fixed?
Thanks!
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it