I have a footer that is made in JS, and is styled in css with
grid-template-columns: repeat(3, minmax(0, 1fr));
But i would like to have the copyright part at 100%, and not only in the first grid row, is it possible to override?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Yes, use grid-column: 1 / -1; This will set the item to start at 1 and the -1 aspect will tell the footer to extend all the way to the end of the grid no matter how many columns you have.
/* use what ever your footer is selected as in css*/ {
grid-column: 1 /-1;
}
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0