- This topic has 42 replies, 4 voices, and was last updated 3 years, 7 months ago by
David.
-
AuthorPosts
-
February 3, 2022 at 8:04 am #2104041
David
StaffCustomer SupportSorry to heat that – i hope you are feeling better.
It looks to be working for me.
But you have all elements in your Block Element set to H2 – see here:https://www.screencast.com/t/PX1iB4GTJ
Edit your Block Element – Content template, and change the Meta element tag to a
P
:https://docs.generateblocks.com/article/headline-overview/#element
Then that CSS will only highlight the Title H2
February 3, 2022 at 8:46 am #2104104francesco
thanks, i’m really sorry but i can’t figure out how to edit the meta tag. I tried to change the remaining texts to h6. the problem is that when you select an article it is as if you select them all.
February 3, 2022 at 8:53 am #2104114David
StaffCustomer SupportIn Appearance > Elements you created a Block Element – Content Template. Edit that and make those changes.
February 3, 2022 at 8:53 am #2104115francesco
in the widget it works only on the first article.
I can’t understand this step. change the tag of the Meta element to a P. what should I do?
February 3, 2022 at 10:46 am #2104287David
StaffCustomer SupportMost of those posts don’t have a link – when you add your OWN posts to the site the links will display correctly.
The meta elements – in this topic you created a Content Template:
You just need to EDIT that, select the Meta and change the tag
February 3, 2022 at 11:13 am #2104315francesco
Sorry David, but i’m quite ignorant on the subject. do i have to change any of these things? I have already converted the two elements dtata and author to H6. only the title remained in H2
February 3, 2022 at 11:16 am #2104317David
StaffCustomer SupportThats it – you don’t need to change anymore. If you check your site its working as you asked.
February 3, 2022 at 12:19 pm #2104352francesco
Unfortunately not. maybe I explained myself wrong before. practically when I hover the mouse over an article it makes the lines appear on all of them. see photo
February 3, 2022 at 8:59 pm #2104646Elvin
StaffCustomer SupportCan you temporarily disable SG optimizer while we try to diagnose and fix the issue?
To be sure the changes the fixes we provided reflects immediately. 🙂
As for the underline:
You can this custom CSS that’s applying the underline:
.paging-navigation p a:hover, .rpwwt-sticky a:hover, .generate-columns-container:hover h2 { text-decoration: underline; }
The selector for
.generate-columns-container:hover h2
should be corrected to.generate-columns-container h2:hover
.As for the sidebar underline, the selector
.rpwwt-sticky a:hover
has to be corrected todiv#rpwwt-recent-posts-widget-with-thumbnails-2 ul li a:hover
February 4, 2022 at 3:01 am #2104860francesco
hi elvin, done. I disabled the optimizer
I inserted the CSS you suggested but now nothing seems to have changed on the home page. indeed all the lines have disappeared. the widget links in the sidebar on the other hand now works correctly.
February 4, 2022 at 3:23 am #2104877Elvin
StaffCustomer SupportI see:
Try changing
.generate-columns-container h2:hover
to.generate-columns-container article.post:hover h2
.February 4, 2022 at 3:27 am #2104884francesco
Now work. thnx all…
By now I was going crazy looking for the solution. i couldn’t understand what david was saying to me.February 4, 2022 at 3:30 am #2104887francesco
elvis do you have a CSS for the related post in the articles?
February 4, 2022 at 3:35 am #2104893Elvin
StaffCustomer SupportBy now I was going crazy looking for the solution. i couldn’t understand what david was saying to me.
That’s on me. I interjected before he was able to fully make his point. My bad. lol.
elvis do you have a CSS for the related post in the articles?
Add this selector to your list of selectors for text-decoration: underline.
h2.wp-show-posts-entry-title a:hover
February 4, 2022 at 3:52 am #2104908francesco
done, it works. summing up this is CSS.
sorry if I always post the photos but at least I hope to be of help to others. -
AuthorPosts
- You must be logged in to reply to this topic.