Hello, can someone please explain to me how class naming import works in Relume to Webflow? I have been experiencing different systems - 1) components only having section's name but not inside, 2) classes include page's name combined with section name, and 3) classes containing page's name but not section names SUGGESTION:
Make a field for class naming -- for developers if we want to make user-friendly terms to describe sections, and proper section class names so we dont need to rename them all once we export to webflow
If marked as global / component, allow us to name the component (a field)
Allow us to check/uncheck "add page title as prefix to all classes" on page setting
Relume site builder saves a lot time, then also consumes a lot of our time renaming classes (5-10+ hours of full concentration)
Eric B. it depends on a few things - if you use the import app it’ll have full context of the page and can rewrite classes. If you are just copying from site builder or library it wont. We have some documentation here on the naming convention: https://www.relume.io/resources/docs/why-relume-uses-client-first
Yes, I use and follow CF. I also use import app and it only imported relume's layout titles (ie: header54, layout5, etc)
Example of class naming system I use and this doesn't get imported to webflow
When it is marked as a component, only the component gets the name, but not elements inside - default class names (header54, form2, etc) get retained When it is not marked as a component, these names don't overwrite default ones
(ignore descriptions on the site map, they are old/i dont use them atm)
This is what I do as a workaround to clean up my classes after experiencing several different & confusing Relume to Webflow (through Webflow App) class naming settings:
Make a relume styleguide
Export styleguide to webflow
Customize the styleguide
Make a webflow backup called "Blank - Start" in case if anything gets screwed up
Make and/or mark all sections as component/global (to leverage Webflow's Marketer role) on Relume site builder
Export to webflow through webflow app
Remove all pages, and remove all components on last page (home)
This is to create components, retain their names, and adjust names (ie: remove dashes) or create folders based on their class naming
Click all sections on Relume site builder to make them local (not global/component)
Export again
Go through all classes to rename and put them in proper folders using Finsweet's extension -- and cross-check Relume wireframe to find default class names before renaming on Webflow -- I copy & paste Relume section title to rename classes on webflow
This allows me to create page-specific class names and be tracked by Finsweet Folders
I replace all unlinked sections with saved components from #6
Rename components as mentioned @ 7a
Also I didn't realize for some reason that the team had implemented a change to class naming when importing via the app but it appears for over a month now that we no longer rename classes on import. Which personally I'm okay with being that the Finsweet folders method is better IMO than what was being done via the app.
maybe this change has not propogated to the copy/paste though, will test.
step #7 — faster to create pages by creating new instead of replacing existing pages, especially when you have 15+ pages and you’d be likely to run into some webflow errors during importing via the app Ahhh @ the change, and personally I think that is a BIG con, not a plus. Finsweet folders method is great, but still very time-consuming to organize all folders every single time when you start a new webflow project. This also doesn’t leverage Webflow’s Marketer role — but rather, this becomes a tremendous roadblock for the team — to wait for the developer to clean up the classes then they can finally begin creating & editing pages and sections It would be incredibly fantastic if we users are empowered to have an option to name each section’s class and have an on/off option for adding a prefix to class under a page — that will drastically cut down our time wrestling with classes manually. And not only that, Finsweet folders don’t save our changes unless if we click “save changes” & allow webflow to save the backup & reload. If we get focused on the folder, make multiple changes, then either we encounter some webflow error, internet connectivity issues, or get sidetracked, our progress gets lost. That is why I love google doc/slides/sheets for example because they save automatically, and relume does the same. (That is why I hit “save” on all my adobe programs lmao, unlike some of my team members and they have their war flashbacks)
so if you delete all of those things, why do the import via the webflow app?
the naming of the classes before was based on the page name - so you'd end up with a class like section_page-with-really-long-name_component - when all it needed to be was section_page-name_component - I obviously see the value in being able to have those classes renamed but it seemed like it was doing more harm then good because if you had multiple nested folders, it was actually not possible to undo those nests via the finsweet folders tool.
1) the first import creates components, webpages, and CSS 2) after deleting all webpages and components on homepage (they are named by section title from relume but elements’ classes inside the components remain “relume default” and pages (folders remain), and re-import all pages but with local sections this time, all sections show relume default naming system, not by section title 3) now, with all sections unlinked, finsweet folders can track and find all “affected items” — and you can click any webpages under its affected items list to make a section page-specific if needed. This won’t happen if elements are inside a component— they are not discoverable by finsweet folders 4) after renaming all sections, the saved components from first import will also have their inside elements’ classes’ names updated 5) now I then replace all unlinked sections with components

