Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Copy part form templates

New Here ,
Nov 15, 2016 Nov 15, 2016

Hello guys ,
I'm a beginner ,Look Now I Have to templetes (A and B) I want to take a part from (A) which is a bar with sub menus

and copy it to (B)
When I copy the code from A and paste to B the sub menus is already viable under the main bar unlike what in A

about.pngabout 2.png

498
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2016 Nov 15, 2016

Without being able to see all of the code affecting your pages, there's nothing we can do but guess at what might be happening.

For help with code problems, the easiest way to get answers would be to share a link to your work in progress on a server you control. Then we can see all of the page's code in our browsers and offer advice based on what's actually malfunctioning in your page.

Pictures won't work for most code problems.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 15, 2016 Nov 15, 2016

ri.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2016 Nov 15, 2016

Looks like your 2 templates have completely different CSS styles -- one is styled light, the other is dark.

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 15, 2016 Nov 15, 2016

so what to do is it impossible ? Iam sorry but I'm really a beginner

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2016 Nov 15, 2016

The problem is, the small snippet of code you show in your picture is only a fraction of what's actually used to style that menu. You have css and/or javascript controlling the function of those menu items in one page that isn't being copied over to the next.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 15, 2016 Nov 15, 2016

I am sorry if I sounds stupid

But you want me to copy what exactly?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2016 Nov 15, 2016

How much do you know about HTML code?

W3Schools Online Web Tutorials

That's where you should start.  DW won't help you unless you know how to work with code.

You should compare the code in your <head> tags to see what is different in those 2 templates.

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 15, 2016 Nov 15, 2016

I just copied the code from the working template to the other one.Is there

a way I can copy it and make it work on the other one?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 15, 2016 Nov 15, 2016
LATEST

Not without copying all the other relevant code to make them the same.

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines