š
thank you
jonathansteffens
Posts
-
individual head content -
individual head contentwindow.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 content
the site is friederike-dudda.de
-
individual head contenthi, that would be awesome if you implemented this. i use the burger icon option and the footer option
-
individual head contentthats absolutely right!
-
individual head contentthats a very good idea, thank you!
-
individual head contenthi, 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 backgroundi was teaching at the "medienkompetenzzentrum der medienanstalt sachsen anhalt" in halle/saale. they loved laytheme anyways :)
-
row color background in front of image backgroundhi, 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-bottomcool, thanks!
-
light box groupshello,
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-bottomhi, 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