jkristobans Posted January 16, 2021 Share Posted January 16, 2021 Site URL: https://www.theemailschool.com/ I would. like to add linear gradient to my whole website. From left to write and top to bottom. I have this piece of code but it leaves white space all around. I'm using Brine template and 7.0. What am I doing wrong? .Main-content { background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); } Link to comment
tuanphan Posted January 18, 2021 Share Posted January 18, 2021 Hi. You mean linear gradient cover both page content + header/footer? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted January 18, 2021 Author Share Posted January 18, 2021 10 hours ago, tuanphan said: Hi. You mean linear gradient cover both page content + header/footer? Hi. Yes, please! Link to comment
tuanphan Posted January 20, 2021 Share Posted January 20, 2021 Use this CSS body{ background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);; background-color: transparent; } .Footer { background-color: transparent; } section { background-color: transparent !important; } header.Header { background-color: transparent !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted January 21, 2021 Author Share Posted January 21, 2021 19 hours ago, tuanphan said: Use this CSS body{ background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);; background-color: transparent; } .Footer { background-color: transparent; } section { background-color: transparent !important; } header.Header { background-color: transparent !important; } Hi! That didn't work perfectly. 🙂 It didn't cover everything with linear gradient. Picture in the attachment. Link to comment
tuanphan Posted January 23, 2021 Share Posted January 23, 2021 Use new code body{ background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);; background-color: transparent; } .Footer { background-color: transparent; } section, .Main { background-color: transparent !important; } header.Header { background-color: transparent !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted January 24, 2021 Author Share Posted January 24, 2021 23 hours ago, tuanphan said: Use new code body{ background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);; background-color: transparent; } .Footer { background-color: transparent; } section, .Main { background-color: transparent !important; } header.Header { background-color: transparent !important; } Hey. Thank you. It worked fantastic on all pages except on this page https://www.theemailschool.com/newsletter Not sure whether there are any fixes for it. Pictures in the attachment. Maybe. Would be it be possible that I can insert code for selected pages and leave out the one which doesn't display properly? And thanks. I really appreciate your help. Link to comment
tuanphan Posted February 1, 2021 Share Posted February 1, 2021 On 1/24/2021 at 6:44 AM, jkristobans said: Hey. Thank you. It worked fantastic on all pages except on this page https://www.theemailschool.com/newsletter Not sure whether there are any fixes for it. Pictures in the attachment. Maybe. Would be it be possible that I can insert code for selected pages and leave out the one which doesn't display properly? And thanks. I really appreciate your help. Hi. Sorry for the delay. I was off someday. Do you still need help on this? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted February 1, 2021 Author Share Posted February 1, 2021 6 hours ago, tuanphan said: Hi. Sorry for the delay. I was off someday. Do you still need help on this? Hey. No problem at all. Yes, please. I've redesigned that conflicting page and inserted your last piece of CSS. It worked for a little while and then it blocked page edit button. I couldn't edit pages. I had to remove the code. Haha. I think ideally if I could add linear gradients to individual page. So I have some flexibility. Thank you. Link to comment
tuanphan Posted February 3, 2021 Share Posted February 3, 2021 On 2/1/2021 at 1:47 AM, jkristobans said: Hey. No problem at all. Yes, please. I've redesigned that conflicting page and inserted your last piece of CSS. It worked for a little while and then it blocked page edit button. I couldn't edit pages. I had to remove the code. Haha. I think ideally if I could add linear gradients to individual page. So I have some flexibility. Thank you. To disable code in edit mode, replace body class with body:not(.sqs-edit-mode) Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted February 3, 2021 Author Share Posted February 3, 2021 2 hours ago, tuanphan said: To disable code in edit mode, replace body class with body:not(.sqs-edit-mode) Hey. Thank you. Not sure where is should add this code. 🙂 CSS? Shall I add to last linear gradient code you gave me? Link to comment
tuanphan Posted February 4, 2021 Share Posted February 4, 2021 in above code, find body replace with body:not(.sqs-edit-mode) Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jkristobans Posted February 5, 2021 Author Share Posted February 5, 2021 15 hours ago, tuanphan said: in above code, find body replace with body:not(.sqs-edit-mode) Ahhh. Thank you. So I need to turn on Developer mode? I've never went that far. 🙂 Thank you. Link to comment
creedon Posted February 5, 2021 Share Posted February 5, 2021 4 minutes ago, jkristobans said: So I need to turn on Developer mode? No! I don't think @tuanphan was suggesting that you do this. If you turn it on and it wasn't needed, you can cause yourself much pain! Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
jkristobans Posted February 5, 2021 Author Share Posted February 5, 2021 1 hour ago, creedon said: No! I don't think @tuanphan was suggesting that you do this. If you turn it on and it wasn't needed, you can cause yourself much pain! Hey. Yes. I just read again @tuanphan reply. Now I get the point. Sorry for the trouble. I don't know what I was thinking. Haha. Thank you. I haven't turned on dev mode. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.