Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.36.1, css, Excerpt Plus, template
- This topic has 10 replies, 2 voices, and was last updated 4 years, 10 months ago by
Ramona McCoy.
-
AuthorPosts
-
01/22/2019 at 5:59 pm #482378
Ramona McCoy
ParticipantI am entering information for a ‘grants’ page and for now we only want to display the grant title, Funding Agency, and Principal Investigators. I have this set using the Organization field for the Grant title, and entering the funding agency and PI’s names in the Biographical Info field.
I need to remove the Read More link and the drop down arrow that shows at the right of the entry but haven’t found a way to do this.
Can you help?
Thanks!
01/23/2019 at 9:20 am #482446Steven Zahm
Keymaster@ Ramona
Using CSS is probably the quickest/easiest way to remove these items. Add the following to the theme’s custom CSS area, generally found in the theme Customizer.
#cn-excerpt-plus .cn-sprite, #cn-excerpt-plus .cn-show-more { display: none !important; }
keep in mind that the displayed text is only an excerpt of the bio field. If the content of the bio field exceeds the excerpt size, it will be truncated and there will be no visible way for the user to display the rest of the content.
Hope this helps!
01/23/2019 at 12:54 pm #482463Ramona McCoy
ParticipantThank you! This will help.
How many characters does the excerpt size allow?
01/23/2019 at 1:10 pm #482465Ramona McCoy
ParticipantHello again,
The code you sent works but the issue now is that on our grant listing page we don’t have additional information to show so we want to remove the sprite and the read more link.
However on our staff directory page we do have additional information and need to have the sprite and the read more link. Can the CSS for this setting be specific to the page?
01/23/2019 at 3:12 pm #482471Steven Zahm
Keymaster@ Ramona
RE: How many characters does the excerpt size allow?
The default is 55. But you can change it per instance by using the
excerpt_length=55
shortcode option for Excerpt Plus. Add it to the existing shortcode, change it to a value that makes sense for your use case.RE: Can the CSS for this setting be specific to the page?
Some themes already have this as an option. If yours does, it will have a place for custom CSS when editing your page/post.
If you theme does not, there are plugins available which allow you to add custom CSS per page. I can not recommend any of the top of my head though.
01/23/2019 at 8:13 pm #482518Ramona McCoy
ParticipantThank you Steven. I’ll work on the custom CSS per page.
01/24/2019 at 7:50 pm #482595Ramona McCoy
ParticipantI managed to get the “read more” and ‘sprite’ off my grant listing page but I noticed that the title that displays is still showing as a link. Can I change that setting?
Also, on the staff page the ‘sprite’ is now transparent. I don’t know how that happened. I can hover over where I know it is and get the link, and in the custom CSS editor I can select it and see the outline but can’t get it to show up again.
Any thoughts?
Again, thank you so much for all your help.
01/25/2019 at 9:35 am #482630Steven Zahm
Keymaster@ Ramona
RE: I managed to get the “read more” and ‘sprite’ off my grant listing page but I noticed that the title that displays is still showing as a link. Can I change that setting?
What title? The entry name?
RE: on the staff page the ‘sprite’ is now transparent. I don’t know how that happened. I can hover over where I know it is and get the link, and in the custom CSS editor I can select it and see the outline but can’t get it to show up again.
Unfortunately it is impossible for me to now and provide an answer.
If you can share links to these pages, I will likely be able to better assist you with solutions to these issues.
01/25/2019 at 12:32 pm #482645Ramona McCoy
ParticipantSorry.
Yes, the entry name.Here are links to the pages in question.
http://uxe.f8d.myftpupload.com/grants/
http://uxe.f8d.myftpupload.com/staff/#research-staff01/25/2019 at 3:34 pm #482665Steven Zahm
Keymaster@ Ramona
RE: I managed to get the “read more” and ‘sprite’ off my grant listing page but I noticed that the title that displays is still showing as a link. Can I change that setting? … the entry name.
Sorry, no. The template PHP and JavaScript files would have to be edited to remove this. The CSS I gave you only hides the elements you asked about.
RE: on the staff page the ‘sprite’ is now transparent. I don’t know how that happened.
It looks like you are trying the change the color by using the color shortcode option.
The issue is that you set the color to an invalid value. It appears you have it set to
02567f
when it should be set to#02567f
. Notice the missing#
.Hope this helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.