<?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>Force navigation menu item line break for better display in English menu only &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 23:10:08 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226134</guid>
					<title><![CDATA[Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226134</link>
					<pubDate>Thu, 12 Mar 2015 19:49:42 +0000</pubDate>
					<dc:creator>yifanzhou</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, </p>
<p>The website I am setting up is <a href="http://www.createwebsite4u.com/educament/" rel="nofollow">http://www.createwebsite4u.com/educament/</a></p>
<p>There is the English menu and then there&#8217;s the Chinese one.</p>
<p>How do I force a line break on the English nav menu items (word wrap) so that it doesn&#8217;t look so cramped and also I can fit more items in the menu?</p>
<p>I only need this for non-mobile display.</p>
<p>Thanks.<br />
Ivan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226308</guid>
					<title><![CDATA[Reply To: Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226308</link>
					<pubDate>Fri, 13 Mar 2015 00:08:18 +0000</pubDate>
					<dc:creator>Rue Nel</dc:creator>

					<description>
						<![CDATA[
						<p>Hello There,</p>
<p>Thanks for posting in!</p>
<p>To force a line break on the English nav menu items, please add the following css code in the customizer, <strong>Appearance &gt; Customize &gt; Custom &gt; CSS</strong> or insert this code in your child theme&#8217;s style.css (if you are <a href="https://theme.co/x/member/kb/how-to-setup-child-themes/" rel="nofollow">using a child theme</a>)</p>
<pre><code>@media screen and (min-width:768px){
    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li &gt; a {
      word-break: break-all; 
    }
}</code></pre>
<p>hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226323</guid>
					<title><![CDATA[Reply To: Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226323</link>
					<pubDate>Fri, 13 Mar 2015 00:32:08 +0000</pubDate>
					<dc:creator>yifanzhou</dc:creator>

					<description>
						<![CDATA[
						<p>Hello there,</p>
<p>Thanks for prompt support.  I just tried adding your css code to Customizer and style.css one after another.  It doesn&#8217;t seem to work.<br />
Perhaps I didn&#8217;t explain it well what I wanted to achieve.  For each nav menu item, I wanted to show the 2nd word (if applicable) below the 1st word.  That way, I can have more menu items in the same space and the menu bar will  appear less crowded.</p>
<p>I mean I am able to achieve a desired result by inserting &#8216;&lt;br&gt;&#8217; between the words (see my &#8216;Foreign Studies&#8217;  on <a href="http://www.createwebsite4u.com/educament/" rel="nofollow">http://www.createwebsite4u.com/educament/</a>) but it would be much better to line break on only desktop or laptop or non-mobile screens.  </p>
<p>I hope that helps you help me.  Thanks.<br />
Ivan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226489</guid>
					<title><![CDATA[Reply To: Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226489</link>
					<pubDate>Fri, 13 Mar 2015 06:07:00 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Ivan,</p>
<p>Please replace the codegiven above with this.</p>
<pre><code>
@media screen and (min-width:979px){
    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li &gt; a {
         word-break: keep-all;
    }

    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li.menu-item-6795 {
         max-width:110px;
    }

    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li.menu-item-6969 {
         max-width:160px;
    }

    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li.menu-item-6865 {
         max-width:110px;
    }

    html[lang=&quot;en-US&quot;] .x-navbar .x-nav-wrap .x-nav &gt; li.menu-item-6779 {
         max-width:80px;
    }
}
</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226651</guid>
					<title><![CDATA[Reply To: Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226651</link>
					<pubDate>Fri, 13 Mar 2015 15:24:00 +0000</pubDate>
					<dc:creator>yifanzhou</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for nice code!  It works beautifully!  </p>
<p>Thanks.<br />
Ivan</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226838</guid>
					<title><![CDATA[Reply To: Force navigation menu item line break for better display in English menu only]]></title>
					<link>https://theme.co/archive/forums/topic/force-navigation-menu-item-line-break-for-better-display-in-english-menu-only/#post-226838</link>
					<pubDate>Fri, 13 Mar 2015 20:44:44 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Glad we were able to help 🙂</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

