From 5905c2b66fad3d48bf551d22e032aa9057ef2d66 Mon Sep 17 00:00:00 2001 From: Jafeth Garro <45522320+IAmJafeth@users.noreply.github.com> Date: Sun, 15 Sep 2024 20:33:56 -0600 Subject: [PATCH] Corrected Dropdown CSS examples --- .../themes-store/themes-marketplace-preferences.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/themes-store/themes-marketplace-preferences.md b/content/themes-store/themes-marketplace-preferences.md index 4723a6c..bd483e1 100644 --- a/content/themes-store/themes-marketplace-preferences.md +++ b/content/themes-store/themes-marketplace-preferences.md @@ -250,19 +250,19 @@ You can use the following CSS to change the background color based on the select ```css {2,8,14} /* Light background */ -body:has(#theme-mytheme[background_color="light"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="light"]) { background-color: #fff; color: #000; } /* Dark background */ -body:has(#theme-mytheme[background_color="dark"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="dark"]) { background-color: #000; color: #fff; } /* Blue background */ -body:has(#theme-mytheme[background_color="blue"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="blue"]) { background-color: #001f3f; color: #fff; } @@ -319,17 +319,17 @@ You can combine the CSS like this: } /* Dropdown for background color selection */ -body:has(#theme-mytheme[background_color="light"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="light"]) { background-color: #fff; color: #000; } -body:has(#theme-mytheme[background_color="dark"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="dark"]) { background-color: #000; color: #fff; } -body:has(#theme-mytheme[background_color="blue"]) { +body:has(#theme-mytheme[theme-mytheme-background_color="blue"]) { background-color: #001f3f; color: #fff; }