0
Welcome Guest! Login
0 items Join Now

SOLVED Contentarray without Link

  • SOLVED Contentarray without Link

    Posted 5 years 1 month ago
    • I have an issue with the titels of my contentarray.

      I'd like to have them as a plain Text, without a link to the article itself. I searched the Forum and couldn't find an answer to this request. Would be very nice, if someone could help me out, or show me where I'm able to find the option.

      Thanks a lot
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Contentarray without Link

    Posted 5 years 1 month ago
    • Please would you post your URL, superuser id and pswd in the secure tab of your post and I'll have a look for you.

      Please do a screenshot of your problem and annotate to make it clear.

      Regards, Mark.
    • 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 Contentarray without Link

    Posted 5 years 1 month ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • Last Edit: 5 years 1 month ago by Fabio Gergs.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Contentarray without Link

    Posted 5 years 1 month ago
    • You could create a particle override and modify the TWIG code in the contentarray particle. But to be honest, that's probably a bit over the top to do just this. So, why not just use a line of custom CSS?

      Use this code...
      .g-content-array .g-item-title a {
         pointer-events: none;
      }

      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.


      If you do want to do it via an override instead...

      To learn how to override a particle in Gantry 5 please see our documentation here http://docs.gantry.org/gantry5/tutorials/overriding-particle-settings#overriding-particle-source-files .



      Regards, Mark.
    • The following users have thanked you: Fabio Gergs

    • 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 Contentarray without Link

    Posted 5 years 1 month ago
    • Worked out just fine, thanks :)

Time to create page: 0.046 seconds