- This topic has 12 replies, 3 voices, and was last updated 7 years, 10 months ago by Tom.
-
AuthorPosts
-
November 20, 2015 at 4:30 pm #154501Musa Ahmad
Hello!
I’m using generatepress theme and got all of generatepress Add-ons.I’m blogging in Cambodian language (Khmer). One complete sentence in Khmer we don’t use spacing between words.
So the problem is:
The post title will appear in Recent Posts on sidebar goes out of container. Please click the following link to see exactly what I’m trying to describe : http://alihsanassociation.org/kh/Any solution without expending the width of the sidebar?
Please help me.
November 20, 2015 at 11:33 pm #154548TomLead DeveloperLead DeveloperI believe your only solution would be this CSS:
.sidebar .widget { word-wrap: break-word; }
It will break the word up so it doesn’t run outside the container.
Let me know if you need more info π
November 21, 2015 at 1:35 am #154559Musa AhmadI added the given code in public_html/wp-content/themes/generatepress/style.css but still not working.
November 21, 2015 at 9:53 am #154622TomLead DeveloperLead DeveloperTry adding the code using these instructions: https://generatepress.com/knowledgebase/adding-css/
November 21, 2015 at 4:00 pm #154658Musa AhmadI already installed Simple CSS plugin and pasted the css code but not working either.
The problem is in the right sidebar, I found your code is written.sidebar .widget { word-break: break-word; }
not mention right or left sidebar, is that effects or not?
November 21, 2015 at 4:36 pm #154661TomLead DeveloperLead DeveloperWhen I go to your site I’m not seeing the text leaving the sidebar – it looks good to me.
Maybe try clearing your browser cache?
.sidebar
applies to the left and right sidebars πNovember 21, 2015 at 5:09 pm #154666Musa AhmadThe problem is in my Recent Posts section on my right sidebar. I’m using Mozilla Firefox 42.0
I already delete all of my browser history.This is what I’m seeing on my browser: http://alihsanassociation.org/error-on-my-blog.png
November 21, 2015 at 5:22 pm #154668TomLead DeveloperLead DeveloperI edited my CSS above – can you give it a try?: https://generatepress.com/forums/topic/long-text-without-spaces-goes-of-sidebar-container/#post-154548
November 21, 2015 at 10:00 pm #154684Musa AhmadYes, Its working.
Thank you very much.
AppreciatedNovember 22, 2015 at 12:02 am #154693TomLead DeveloperLead DeveloperYou’re very welcome π
May 31, 2016 at 10:54 am #198285AhamedHi,
why is the text going out?
http://propertygeek.sg/i have added the css.
yet, the long test text is going out.May 31, 2016 at 11:04 am #198289AhamedJust adding, it doesn’t seem to be anything to do with sidebars,
http://propertygeek.sg/about/
Check this page as well.How do we fix it?
May 31, 2016 at 12:03 pm #198319TomLead DeveloperLead DeveloperThe spaces between your words have which stands for non breaking space. This means it’s not allowing the word to break down to the next line.
See here: http://screencast.com/t/DwSRxCwa
Replace those spaces with regular spaces using your space bar and it should work π
-
AuthorPosts
- You must be logged in to reply to this topic.