Guest Posted October 20, 2020 Share Posted October 20, 2020 Hi, I'm trying to hide the top green element with this code and it's not working: @media only screen and (max-width: 768px) { #yui_3_17_2_1_1603186140780_94 { display: none; } } Any suggested solutions? Link to comment
rwp Posted October 20, 2020 Share Posted October 20, 2020 4 hours ago, Elektra said: Hi, I'm trying to hide the top green element with this code and it's not working: @media only screen and (max-width: 768px) { #yui_3_17_2_1_1603186140780_94 { display: none; } } Any suggested solutions? #yui id's are not constant, and cant be used You will need to find a parent element with #block id and then target the child element with that. #block-id_____________ .child .child Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.