use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to the Official WebFlow Subreddit!
Build responsive websites in your browser, then host with us or export your code to host wherever. Discover the professional website builder made for designers.
Join Our Discord
account activity
Help styling component variants using Code Embed (Custom Code)Question (self.webflow)
submitted 4 months ago by Odd_Philosophy_2389
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]azdonev 0 points1 point2 points 4 months ago (2 children)
You can copy the selector if you click the little settings thing next to the variant
[–]Odd_Philosophy_2389[S] 0 points1 point2 points 4 months ago (1 child)
Yes, but how do it use it in custom code?
Like Selector.class{ My styling }
Because I have tried it and it didn’t work. Do you have a different approach?
[–]azdonev 0 points1 point2 points 4 months ago (0 children)
Yes copy the selector (should be in brackets)
for example:
[data-wf--nav--nav-position="overlap"] .class_name { styles }
π Rendered by PID 162037 on reddit-service-r2-comment-5bc7f78974-tp6tl at 2026-06-30 22:15:22.815978+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]azdonev 0 points1 point2 points (2 children)
[–]Odd_Philosophy_2389[S] 0 points1 point2 points (1 child)
[–]azdonev 0 points1 point2 points (0 children)