x

The whole website is linked to another page

Hi 

I am not sure why the whole website(except the home page) will direct to the "contact us" section whenever I click on the black space/ words.

I have tried to delete the hyperlinks one by one (e.g. the hyperlinks in the text), but they appears again even after I have published the site. 

Can anyone please help?

Website: https://www.act-asia.com.hk/

Many thanks!

1,402 Views
Message 1 of 11
Report
1 Best Answer

Best Answer

Thank you both Adam's and Queso's help! I found that there was a missing </a> tag after the "extra" </div>

After adding that the problem is solved Smiley Happy 

Thanks so much for both of your help! Smiley Happy

View Best Answer >

1,326 Views
Message 12 of 11
Report
10 REPLIES 10
Square

It's your theme customizations doing it, @SamanthaACT. I looks like there's something funky with the images/links you added to your navigation. If you check out your code in the theme editor and scroll, you'll see a </div> closing tag high-lighted in pink, indicating that there's a problem with it.

1,395 Views
Message 12 of 11
Report

Dear Adam,

Thank you so much for your answer. Since I'm new to the website as I've just inherited the website from the previous intern, and I do not have much knowledge on coding, may I know how I can fix the problem?

Many thanks!

1,387 Views
Message 12 of 11
Report

Hey there!

The easiest way to clear that up, if you don't know your way around the code of the theme in place, would be to change to a standard Weebly theme. However, bear in mind, that's going to change a lot of things, and would probably take some tidying up, not to mention making the site look a bit different.

Are you still able to contact the creator of the theme?

1,370 Views
Message 12 of 11
Report

Thank you Queso!

I still can contact the creator of the site, but not sure if she still rmb how she did that

Please kindly see the attached photo for the code. It seems that all the sections are covered by the "contact us" link. May I know how to delete it?

1,362 Views
Message 12 of 11
Report

image

1,360 Views
Message 12 of 11
Report

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0;">
</head>

<body class="header-page has-header">
	<div id="header">
		<div class="header-wrap" >

		<div class="logo">
				<label id="nav-trigger" class="hamburger" for="mobile-input"><span></span></label>
				{logo: max-height="119"}
			</div>
			<div id="nav" class="menu">
							
				<div style="display:flex;
				flex-direction: column;
				justify-content: centre;
				float: right">
				{menu}
					<div style="padding-right:20px;">
					<a href="http://act-asia.sg/contact-us_hk.html">
					<img src="https://c1.staticflickr.com/1/720/32881563051_dcb47f8657_t.jpg" 
					style="float: right; width:30px;height:20px;">
                    </a>

					<img src="https://c2.staticflickr.com/4/3808/32229358153_b58ff4b060_t.jpg"
					style= "float: right; width: 10px; height: 10px;">
					
					<a href="http://actasiasg.weebly.com/contact-us.html">
					<img src="https://c1.staticflickr.com/3/2874/32852290002_bbb49ecb21_t.jpg" 
					style = "float: right;width:45px;height:30px;">	
					</a>
					
					</div>
				</div>	
			</div>
		</div>



			<div id="navmobile" class="menu">{menu}
			<div style="display:flex; align-items:center; justify-content:center;">
                
					<a href="http://act-asia.sg/contact-us_hk.html">
					<img src="https://c1.staticflickr.com/1/720/32881563051_dcb47f8657_t.jpg" 
					style="float: right; width:30px;height:20px;">
                    </a>

					<img src="https://c2.staticflickr.com/4/3808/32229358153_b58ff4b060_t.jpg"
					style= "float: right; width: 10px; height: 10px;">
					
					<a href="http://actasiasg.weebly.com/contact-us.html">
					<img src="https://c1.staticflickr.com/3/2874/32852290002_bbb49ecb21_t.jpg" 
					style = "float: right;width:45px;height:30px;">	
					</a>			
	

			</div></div>
		</div>
	</div>
	<div class="banner-wrap">
		{{#header}}
			<div class="banner">
				<div class="banner-inner">{content}</div>
			</div>
		{{/header}}
	</div>
	{{#sections}}
		<div class="content-wrap container">{content}</div>
	{{/sections}}

	<div class="footer-wrap">
		<div class="site-footer container">
			{footer}
		</div>
	</div>
	<script type="text/javascript" src="/files/theme/custom.js"></script>
	<script type="text/javascript" src="/files/theme/mobile.js"></script>
</body>
</html>

Here are the code for your information. Many thanks!!

1,358 Views
Message 12 of 11
Report
Square

You probably just need to remove that extra </div> (the highlighted one), but we don't really give advice on custom HTML problems. If you want to test to see if it fixes it you can comment it out of your by adding comment tags around it like this:

<!-- </div> -->

If it turns out that doesn't help after re-publishing, you can remove the <!-- and --> so it's how it was before.

1,353 Views
Message 12 of 11
Report

Dear Adam,

Thank you so much for your suggestion and it works for the "no-header.html" part. However for the "header.html" part, it doesn't work as when I delete the </div> in pink, another </div> following it turns to pink immediately. I have contacted the creator of the website but she wasn't sure what went wrong either. 

Thank you so much for your patience in dealing with this problem Smiley Happy

1,335 Views
Message 12 of 11
Report

Best Answer

Thank you both Adam's and Queso's help! I found that there was a missing </a> tag after the "extra" </div>

After adding that the problem is solved Smiley Happy 

Thanks so much for both of your help! Smiley Happy

1,327 Views
Message 12 of 11
Report
Square

That's great! Glad to hear that you've got it solved. Smiley Happy

816 Views
Message 12 of 11
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.