Lenorldchen Posted August 17, 2020 Share Posted August 17, 2020 Site URL: https://www.shiyuportfolio.com/sonyc Hi! My goal is to add a full-width block background color by using code on this section (see attached image). I have some knowledges about HTML and CSS so I have no problem insert a background color, but the background color is not a full-width block, it has some padding in the left and right side that align with other contents. Can somebody helps to fix it? This is the URL of the site - https://www.shiyuportfolio.com/sonyc Link to comment
Lenorldchen Posted August 17, 2020 Author Share Posted August 17, 2020 also on the same site, wondering how to make this image full-width as well. Link to comment
tuanphan Posted August 18, 2020 Share Posted August 18, 2020 Your site is not fullwidth, very time-consuming to set code block fullwidth. First, remove margin/padding main#page id Next, set Code Block background color Then, set margin/padding for all elements, Except code block 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.