Streaming live at 10am (PST)

Help: Page changes affecting multiple pages?


#1

Hello all.

I purchased the “lander” template and created two pages, I am noticing if I make design changes, saying “padding” changes on one page, the same change is happening on other pages as though their tide together?
if I make changes on this page:
https://www.insuremymedicare.com/medicare-supplement-plans/cigna

it messes up this page:
https://www.insuremymedicare.com/medicare-supplement-plans/texas

Or visa versa

Any thoughts?

Sorry, im brand new lol.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)


#2

I’ll guess it is to do with sharing a class - or being in a symbol…

We would need to see your share link ideally to advise further:

:slightly_smiling_face:


#3

Thanks for the reply.

Like this ?

https://preview.webflow.com/preview/marks-landing-page-project?preview=7dd3d922948718ab5901d09a3303802a


#4

Yep that’s it :slightly_smiling_face:

So…if an element has a class and you give it padding - any other element which shares that class will also change. This is really useful for let’s say styling a button, or ensuring all your H1 headings share styles.

You might however want to style them separately - in which case they will either need a different class name, or you can also add combo classes, or duplicate classes.

To explain those a little more:

Combo - creates it’s own styles, but if the original class is changed, it inherits the changes. (Eg your Buttons have a base original class of ‘button’, and then also a combo class of ‘hero button’ and in the case of the blue button another ‘2’.

Duplicate - inherits the original styles, but once duplicated is then ‘free’ of the original and keeps any further styling you give it, to itself.

More details on it here: https://university.webflow.com/article/combo-classes - in particular the final paragraph with some clarity between combo or duplicate.

There is a good example in action in the first part of this tutorial - see how they change the button styling: https://university.webflow.com/lesson/business-website-part-1

Hope that makes things a little clearer…let us know if not!

(If you are making changes to a ‘symbol’ - those green boxes - they apply wherever you have placed a symbol)


#5

Awesome, thanks!

I will check it out…

Mark


#6

So after watching the video and reading the other link you provided, it seems there isn’t a way to quick duplicate pages or templates without worrying about the class?

I’m fairly new and my desired pages will be pretty simple, I had the idea of making one page, then turning around and duplicating it making minor changes to each one.

Is there an option for “quick” duplicating of pages without worrying about which classes will be effected?


#7

Looking back at what you said:

“Duplicate - inherits the original styles, but once duplicated is then ‘free’ of the original and keeps any further styling you give it, to itself.”

Maybe I’m having this problem because I am still working on the original pages that came in the theme, if I now duplicate one of them, the changes should stick and not effect each other anymore?


#8

Hi @mark806

Duplicating a page and duplicating a class are two different things…

So if you duplicate a page, it is literally a carbon copy of the original, you then have two pages with the exact same class names on each. (the class names need to be manually duplicated/replaced in order to give them their own style ‘freedom’)

To make those minor changes you described, let’s use a button as an example and two use cases:

Combo: (adding another class on top/after the original one) - many sites will want to keep button sizing, padding, text consistent across the site - so adding a combo class means keeping a live link to the original:

Page 1 Home - ‘button’ has blue background and white text, padding of 5px
Page 2 About - ‘button’ class brings those styles to page 2, but adding a combo means you could change to a red background without it affecting the original button. However make a change on page 1’s original button to padding 10px and it will feed through to page 2’s button.

Duplicate: Another way to look at this is that it takes a snapshot of the styles so far, but at the point you duplicate class, you can then change it and the original won’t be affected - it’s no longer a ‘live’ link.

Page 1 Home - ‘button’ has blue background and white text, padding of 5px
Page 2 About - duplicating the ‘button’ class keeps those styles, but then frees the class from the original so you can make any changes you like thereafter - eg doubling the size of the button, boldening the text etc.


#9

A class about classes :wink:

Essentially you could use either combo or duplicating classes for your site with minor changes:

Combo is going to be better if there is a chance you want to reset some original styles - so you decide later you want 8px padding on your buttons across the site - instead of changing each one - you edit the original ‘button’ only class.

Duplicate is perhaps better for other elements where you want some styling to be inherited but each duplicate will have it’s own unique styles going forward. You’ll need to change each one though…


#10

Thanks again.

Ill look into your recommendations.


#11

:+1:t2: - Let us know when you have your first page styled and know which specific elements you would want to change on new pages and we can guide you through.

Or if those are pre-built pages - again let us know which specific things are changing on each page, that you want to ‘free-up’ or behave independantly and we can help you with the best approach :slightly_smiling_face:


#12

Okay so I understand how this works now that have been working with it.

I do a have another question, do I have to create a differant combo class on each page that is sharing an element?

Like page 1 would be “combo class 1” and then page 2 would “combo class 2” ? This would be on a “section”, so have 2 different “section” names on each page, if that makes sense lol.


#13

This may help, I made this page here: https://www.insuremymedicare.com/medicare-supplement-plans/texas

Then duplicated it here only needing to change minor things like, text that didnt effect the Texas page: https://www.insuremymedicare.com/medicare-supplement-plans/michigan

But now I want to move on to this page without altering the first two finished pages above: https://www.insuremymedicare.com/medicare-supplement-plans/cigna


#14

Hi @mark806

If it’s just actual text changes - no problem, literally just change the text and the element can be shared - no need to combo it. If you were changing a font or a font weight (styling) that’s where combo comes into play.

It’s where you want to add styling on top, that a combo would help - inheriting from the original, but given it’s own unique features, without altering the original.

I’ve used the example previously about a button - so those green buttons, say on this third page you want to change the hover colour - add a combo class - and the hover will only affect that instance of the button, if you then changed font it would’nt change the previous original buttons…

So - no need to make a combo for each duplicate page - just those elements where you want to change the ‘style’ settings as opposed to the content.

Hope that helps…


#15

Thanks again for your help.

I think I have it narrowed down to 1 or 2 errors that affect all pages.

  1. Is the “Browser Block” image, I want to change this image on all new pages without it changing the pages I already made.

Somehow I got it right on these pages:


but if I go in and duplicate the page to create a 3rd state page i can’t seem to figure that part out. How do I give each page its own unique image in the “Browser Block” ?

I seem to be creating combo classes where they may not be needed or vise versa.


#16

I think im having a heard time wrapping my head around changing the “combo class” name or changing the “Browser Block” name on each page, or both lol.


#17

Is that the blocks in the tabbed area?

As it’s a background image, you will need to use different class names - either ‘duplicating’ the class and adding TX or MI to it, or adding a ‘combo’ of TX or MI.

Both of those will give you the option to change the background image without affecting previous pages. :slightly_smiling_face:

Orrrrr…(maybe another time!) you could just use an ‘image’ element instead of the block!

  • If you did that, give the image a class like ‘tab image’ and set dimensions/ styles etc
  • Then any time you drop in an image give it the ‘tab image’ class and it will match dimensions, styles, but will keep the actual image you have used.