<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Anchor link content bands getting cut off &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/feed/</link>
		<description></description>
		<lastBuildDate>Sun, 12 Oct 2025 15:46:04 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-34156</guid>
					<title><![CDATA[Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-34156</link>
					<pubDate>Wed, 16 Apr 2014 23:00:38 +0000</pubDate>
					<dc:creator>Naomi C</dc:creator>

					<description>
						<![CDATA[
						<p>Hi! I&#8217;ve got the correct anchors named and linked, but they don&#8217;t show up in the right place from within the page. Example:</p>
<p>-From the navigation menu, when I link to #x-content-band-3, it works properly.</p>
<p>-When I link to the same content band via a link or button from within another content band, it goes to the correct band, but cuts off the top part of it.</p>
<p>My site is here: <a href="http://gojifarmusa.com" rel="nofollow">http://gojifarmusa.com</a>. From the navigation, it&#8217;s Our Tea (working). From Our Company, there&#8217;s a Learn More About Our Tea button (not working correctly). The top of the content band is getting cut off.</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-34378</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-34378</link>
					<pubDate>Thu, 17 Apr 2014 14:49:20 +0000</pubDate>
					<dc:creator>Alexander</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Naomi,</p>
<p>This is because One Page navigation uses the &#8220;fixed header&#8221; and automatically compensates for the header&#8217;s height when choosing where to scroll.</p>
<p>This compensation isn&#8217;t added to other links, so they adjust the page to the content band is at the very top. This ends up getting covered by the navbar.</p>
<p>Try adding this code under <strong>Customizer &gt; Custom &gt; Javascript</strong>. It should supplement the One Page Navigation, and allow buttons to work too.</p>
<pre><code>jQuery(function($){
  $(&#039;a.x-btn&#039;).click(function(e){
    e.preventDefault();
   
    $(&#039;html,body&#039;).animate({
      scrollTop: $(&#039;#&#039; + $(this).attr(&#039;href&#039;).split(&quot;#&quot;).slice(-1)[0] ).offset().top - $(&#039;.x-navbar&#039;).height()
    },700 ,&#039;swing&#039;);
  });
});</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-37238</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-37238</link>
					<pubDate>Fri, 25 Apr 2014 19:51:00 +0000</pubDate>
					<dc:creator>Jeremy T</dc:creator>

					<description>
						<![CDATA[
						<p>I used the above solution for my site &#8212; <a href="http://69.195.124.150/~fineeyec/content-band-test/" rel="nofollow">http://69.195.124.150/~fineeyec/content-band-test/</a> but I am also getting the header or top of the content band cut off.<br />
I am assuming this makes an adjustment to compensate for various header heights. Is there a way to adjust this to make it work for my setup?</p>
<p>Thanks,<br />
Jeremy</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-37450</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-37450</link>
					<pubDate>Sat, 26 Apr 2014 16:23:32 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Jeremy,</p>
<p>You pasted a css along with javascript which should not be.</p>
<p>This is what I see, please move this to css section.</p>
<pre><code>  .admin-bar.x-icon .x-sidebar {
    top: 332px; } </code></pre>
<p>There is one another error, but the script is correct. It can be cause by this css misplacement, not sure yet so you may need to fix this first issue.</p>
<p>Thank you.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38075</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38075</link>
					<pubDate>Mon, 28 Apr 2014 15:44:51 +0000</pubDate>
					<dc:creator>Jeremy T</dc:creator>

					<description>
						<![CDATA[
						<p>I removed the javascript code I previously had in customizer so there is no custom code in customizer currently. I then added the CSS you suggested. Unfortunately, the custom headlines continue to be cutoff in the #x-content-band.</p>
<p>What am I missing?</p>
<p><a href="http://69.195.124.150/~fineeyec/content-band-test/" rel="nofollow">http://69.195.124.150/~fineeyec/content-band-test/</a><br />
WP v3.9<br />
X 1.8.4<br />
X Shortcodes 2.2.1</p>
<p>Thanks,<br />
Jeremy</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38313</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38313</link>
					<pubDate>Tue, 29 Apr 2014 02:05:32 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Jeremy,</p>
<p>Can you give us login details to your WordPress admin? </p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38487</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38487</link>
					<pubDate>Tue, 29 Apr 2014 12:40:16 +0000</pubDate>
					<dc:creator>Jeremy T</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38741</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38741</link>
					<pubDate>Wed, 30 Apr 2014 03:20:09 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Jeremy,</p>
<p>The reason why it doesn&#8217;t work because Naomi&#8217;s case is slightly different than yours. I went ahead and inserted the right code in your Customizer &gt; Custom &gt; JS.</p>
<p>The code is </p>
<pre>
jQuery(function($){
  $('.x-navbar .sub-menu li &gt; a').click(function(e){
    e.preventDefault();
   
    $('html,body').animate({
      scrollTop: $('#' + $(this).attr('href').split("#").slice(-1)[0] ).offset().top - $('.x-navbar').height()
    },700 ,'swing');
  });
});
</pre>
<p>I changed &#8220;a.x-btn&#8221; to target the sub-menu.</p>
<p>Hope that helps. 🙂</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38912</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-38912</link>
					<pubDate>Wed, 30 Apr 2014 16:16:57 +0000</pubDate>
					<dc:creator>Jeremy T</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the updated code. Unfortunately it is still cutting off the header in my simple example page. Were you able to test this? Can you confirm and offer any suggestions? There are many pages in the site that use this type of navigation Alternatively, if there is a better way to implement it let me know.</p>
<p>Thanks again &#8212; Jeremy</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-39216</guid>
					<title><![CDATA[Reply To: Anchor link content bands getting cut off]]></title>
					<link>https://theme.co/archive/forums/topic/anchor-link-content-bands-getting-cut-off/#post-39216</link>
					<pubDate>Thu, 01 May 2014 04:15:45 +0000</pubDate>
					<dc:creator>Christian</dc:creator>

					<description>
						<![CDATA[
						<p>Hey Jeremy,</p>
<p>Please see <a href="http://screencast.com/t/L7WU807gMrn" rel="nofollow">http://screencast.com/t/L7WU807gMrn</a></p>
<p>We test our solutions first before posting as much as possible. I&#8217;ve placed that code in the Customizer&#8217;s JS box.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

