Passer la navigation

[Résolu] styling read more

This support ticket is created Il y a 2 years, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 2 years, 4 months.

Assisté par: Minesh.

Auteur
Publications
#2681772
read more.jpg
lireplus.jpg

Hello
I can't style read more lire la suite with html or css
Can you point me in the right direction
for the moment the site is not accessible but I can give you access to it
Thanks

#2681803

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details and problem URL and tell me how you want to style the read more button?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2681825

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I see you set to display the entire container block as link. When you set whole container as link then you should not add any other links within the container block itself.

As you set whole container as link - why you need read more? I think its not logical.

#2681826

Yes but I just want to write it in bold italics to distinguish it from the rest of the text.

#2681828

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Instead of using single field block (which I deleted) I've added the following shortcode using the "Fields and Text" block to your archive loop:
- lien caché

[wpv-post-excerpt length="20" count="word" 
more="<strong><i>... lire la suite</i></strong>" format="noautop"]

Please do not forget to delete the cache and check its working as expected now.