Hi, loppisinorge, I’m another Twenty Twenty-One theme user.
If you want to add the text below the white line, you need to modify the twentytwentyone/footer.php file.
Ian, thanks for answering!
I’ll try this as soon as possible. Got any idea what you need to modify and how? 🙂
Hi, loppisinorge, I should clarify that you should not modify the existing files, but instead create a child theme and override the file I mentioned earlier.
Hi there @loppisinorge, I don’t think it’s necessary to edit the theme files or make a child theme for this change. Instead, you could try adding this custom CSS to Appearance > Customize > Additional CSS to hide the existing white border and add a new one above your widget text:
/* Add border above block 16 (copyright) */
#block-16 {
border-top: 2px solid #ffffff;
padding-top: 10px;
}
/* Hide border above footer */
.site-footer > .site-info {
border-top: none;
}
Or, instead of that, you could remove the copyright widget and then add the copyright line below the existing white border this way:
.site-info::after {
content: "Snittkalkulator 2022 © – For Norske høyskoler & universiteter";
display: block;
margin: 0 auto;
}
Let me know if one of these methods does the trick.