Content Box affecting Classic Nav

5 posts in this topic



I am using the latest pagelines and wordpress.


I have the classic nav sat underneath a contentbox being used as a header on all child pages. If I put a url link into the contentbox i.e:

<a href="">
<img alt="ALDAF" src="">

It affects the look and functionality of the classic nav menu. See as an example



If I remove the link code

<img alt="ALDAF" src="">

 It works fine - see



Is there something I can add to the contentbox CSS to still have the header link back to the home page without it impacting on the menu?




Share this post

Link to post
Share on other sites



You failed to properly close the href.


This is what shows up as a result in viewing your site:

<div class="hentry-pad cb-standard-pad entry_content">
<img src="" alt="ALDAF">
<a href=""></a>
You see the href (link) is after the image, so the image itself is not linked.  I suspect that the browser threw the </a> in there, as you didn't add it before in your paste. 
Without a closing </a>, the link remains open. 
It finds an opportunity in the first menu tab beginning with A and continues there. If you inspect that, there's an invisible, unlabelled link to the same destination.   I'd recommend also, that at the end of your href, you close it not like this: "> but like this " />
See if that helps.

Share this post

Link to post
Share on other sites

Thanks so much Rob, that made great sense but still didn't work for me


This is what I have now

<a href=""/> <img alt="ALDAF" src=""> <a/>

umm any ideas, or am i still not entering it correct? 

Share this post

Link to post
Share on other sites



Not <a /> but </a>


Not"/> but" />


Not src=" http but src="http


Whenever adding or crafting custom HTML, it's best to use the "By direct input" tab here:


That will tell you if you have any errors in your code.

Share this post

Link to post
Share on other sites

oh my goodness, just a few wrongs - ekk thanks so much for helping and that is a great tip re the validator, that is super useful - working perfect. Yippee.


You are a star



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • change affects to other templates
      By TedWada
      I use DMS 2.1.7 and am having a serious problem.
      When I edit a content in the item (ex. iBox), it affects to same item in other template page. For example, if I change a content in the iBox in the template A, the change affects to the iBox in the template B. This occurs not only iBox but iCallout, as well.
      Why this happens and how I avoid? Because of this, I cannot create a page.
    • ContentBox for DMS
      By camaran+
      In attach a new version of ContentBox for DMS
    • RapidTabs styles changed when I moved site
      By KristaD
      Hi there,
      I loaded my site onto a new host last night (new domain as well) and I noticed that the Rapid Tabs section now has lines around it with a different look. I am trying to remove the lines and the way the tabbed section looks and return it to default.
      I tried messing with CSS but nothing is happening. Thanks for your help in advance.
      --NOTE: I signed out and the RapidTabs section went back to normal. This is happening only when I'm signed into DMS. I also noticed my DMS control panel has some weird styling as well.
    • Editing ContentBox in Footer
      By danmanders
      Hey guys, for some reason I can't seem to figure out how to edit a ContentBox that I've placed in the footer. My current site (not built with Pagelines, I'm in the process of replacing it) shows the way I'd like the footer to look, and I know how to accomplish this with a ContentBox, but I am stuck on how to edit the actual content of that section. I was able to drag it in there in the Page Template area no problem, and I've tried putting content there using the Sitewide Defaults for the ContentBox section, but that changes other ContentBox sections I have elsewhere on the site. Anyone have some advice?
      The site I'm working on is
      The site I'd like to copy the footer from is
      Thank you!