change Tag to Tag

User 3040851 Photo


Registered User
7 posts

hello, is it possible to change a h1 Tag to an h2 Tag without exchange the element itself?
t.charles@web.de
User 2699991 Photo


Registered User
3,656 posts

Nope sorry that's one thing we cannot do yet in SD, can be done after exporting, but then that would require doing it all over again if you made any changes to the project fil again.

how many have you got to do

The Help You Need: When You Need It The Most
Website Design & Development
Website Renovations
Wayans' Theme Park
Watch Listen & Learn Video Tutorials
User 379556 Photo


Registered User
1,230 posts

I believe there is no way of doing without creating the <h2> immediately below it, copying the text from the <h1> element into it, and deleting the <h1> element.

That is, of course, a problem only if one has loads of them to do. My website has hundreds of pages, and I wanted to change scores of paragraph elements into <h6> ones. It proved quick and easy simply by setting up a macro to do the work for me so that I could select a paragraph that needed conversion, and click a key or two to do the job. It does need third party software to do this: I use MacroToolworks.

Using macro software in conjunction with SD can be a massive time saver in multi-page projects.

Frank
User 122279 Photo


Senior Advisor
13,696 posts

The easy change of one header size to another has been asked for, but so far nothing has happened. A workaround could be to give the heading that you want to change, an extra class name (just some name that you haven't used for anything else), and then style that class the way you want to have it. (Remember, I have shown you how to 'inactivate' a class by clicking on it and make it black-looking). Afterwards you go around to the other instances where you want the same change, and just add that new class name.
Ha en riktig god dag!
Inger, Norway
This site was made before we were able to create components through the app:
Component sharing for RFF, RBB, RSD and SD: https://eikweb.com/sharing/
My work in progress right now:
Components for the same as above + HTML Editor: https://mock-up.coffeecup.com


User 3040851 Photo


Registered User
7 posts

Many thanks to all. yes, i was afraid of it ...
And yes @Inger I remember this, many thanks for the hint I'll check it out!
t.charles@web.de
User 187934 Photo


Senior Advisor
19,639 posts

Yes you can.
https://ericrohloff.com/coffeecup/ccfor … nge-h1-h2/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.