👍
thank you
jonathansteffens
Posts
-
individual head content21 days ago -
individual head content21 days agowindow.laytheme.on("newpageshown", function () { if ( document.body.classList.contains("page-id-146") || document.body.classList.contains("page-id-81") ) { //redirect window.location.href = "/"; // Check if a robots meta tag already exists var existingMetaTag = document.querySelector('meta[name="robots"]'); if (existingMetaTag) { // If it exists, update its content to "noindex, nofollow" existingMetaTag.content = "noindex, nofollow"; } else { // If it doesn't exist, create a new meta tag var metaTag = document.createElement("meta"); metaTag.name = "robots"; metaTag.content = "noindex, nofollow"; document.getElementsByTagName("head")[0].appendChild(metaTag); } } });
this is what i did now (following the proposition above). i added a redirect, which doesnt seem to be a problem for the functionality of the menu and the footer.
-
individual head content21 days ago
the site is friederike-dudda.de
-
individual head content21 days agohi, that would be awesome if you implemented this. i use the burger icon option and the footer option
-
individual head content22 days agothats absolutely right!
-
individual head content25 days agothats a very good idea, thank you!
-
individual head content26 days agohi, i want to add
<meta name="robots" content="noindex,nofollow" />
to the heads of the pages "menu" and "footer" in order to hide them in google's subpage-list (see screnshot). i found this post from laythemeforum where @gunesmu explains how i can edit the functions.php. but this would be deleted with every update, right? so i wonder if there is another way to edit the meta-tags of an indivudal page. thanks alot.
-
row color background in front of image backgroundNov 6, 2024, 7:08 PMi was teaching at the "medienkompetenzzentrum der medienanstalt sachsen anhalt" in halle/saale. they loved laytheme anyways :)
-
row color background in front of image backgroundAug 16, 2024, 10:01 AMhi, i'm teaching laytheme at the moment :) and on of the students is trying to put a white row in the middle of a fullscreen image background like in the screenshot below. if i choose row background its alwas from the left edge to right edge, so fullscreen aswell. is there an option for that or should i write some custom css for the student? thanks
-
why not underline instead of border-bottomJul 13, 2022, 2:55 PMcool, thanks!
-
light box groupsJul 10, 2022, 7:01 PMhello,
i have got images in different element grids. when i light box them, i want the light box slider to stop, when the end of the actual grid group is reached. is this possible? didnt find the option.
im talking about this website:
alletage.design
thanks alot! -
why not underline instead of border-bottomJul 6, 2022, 5:48 PMhi, i like lay theme!
but i think its a pitty, that links get border-bottom-underlines by default instead of "real" text-decoration-underlines. real underlines look better and you can easily adjust them (offset, wavy, etc)
greetings
jonathan
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