0
Welcome Guest! Login
0 items Join Now

SOLVED Text in roksproket Strips is hyphenated.

  • SOLVED Text in roksproket Strips is hyphenated.

    Posted 10 years 7 months ago
    • Using newest version of J3.3 and New Fracture template and new rosprocket v2.1.2 install. Text is hyphenating in my strips. Wether i override the decription in module or allow default text from joomla article. Any ideas why it is hyphenating long words and not simply breaking them?
    • Last Edit: 10 years 7 months ago by edesigninc.
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED Text in roksproket Strips is hyphenated.

    Posted 10 years 7 months ago
    • Hi there,

      It is being caused by this css - /components/com_community/assets/modules/module.css - which includes...
      a, p, span {
          -moz-hyphens: auto;
          word-wrap: break-word;
      }

      Completely arbitrary and poor specificity.

      You could try adding the following code to your custom css file...
      span .sprocket-strips-c-text {
          -moz-hyphens: manual;
          word-wrap: normal;
      }

      If this resolves your problem then please edit your first post in this thread by adding [SOLVED] at the start of the title and click on the icon and select the 'tick' icon. This lets the moderators know that it can be moved to the solved section.

      Thanks for your cooperation :)
    • The following users have thanked you: edesigninc


    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information
  • Re: SOLVED Text in roksproket Strips is hyphenated.

    Posted 10 years 7 months ago
    • That did not work initially but that helps me know where it is coming from. I appreciate you help!
      Added the suggested code to the custom css file and flushed all cache. No Dice...
      So I just added their code to my custom css and override it directly. It seems to be fine elsewhere! Will keep an eye out for any issues. Cheers
      e

Time to create page: 0.057 seconds