- This topic has 13 replies, 4 voices, and was last updated 11 months, 1 week ago by
David.
-
AuthorPosts
-
June 23, 2022 at 2:57 pm #2262725
eran
Hi I try to change the color of the blog card title and author links color with this css in a hook:
.blog .gb-inside-container a { color: #XXXXXXX; }
anything im missing?
it dont work.June 23, 2022 at 3:43 pm #2262759Ying
StaffCustomer SupportHi there,
Any chance you can link us to the site in question and point us to where we should be looking at?
You can use the private information field.
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
June 23, 2022 at 3:48 pm #2262763eran
Hi Ying,
I added the blog page.
i try to change the cards title color and the authour name color links.June 23, 2022 at 3:55 pm #2262766Ying
StaffCustomer SupportYou are using a block element – content template, you can change the colors within the block element.
For example, select the headline block which presents the title, you can change color directly from there, no CSS is needed.
Just keep in mind, that if the headline has a link, eg, the title, the color it uses will be the link color, not the text color.
June 23, 2022 at 4:03 pm #2262771eran
Thanks!
that worked.
but still, the hook element with the css should have worked.
I just want to know what i did wrong so next time i’ll do it right.
can you help me figure out?June 23, 2022 at 4:59 pm #2262786Fernando Customer Support
Your code should work.
However, did you wrap it with
style
tags?<style> .blog .gb-inside-container a { color: red; } </style>
Moreover, where are you hooking it to? Usually, stylesheets are in the head so you’ll need to hook it to
wp_head
.Lastly, you may also add CSS through Appearance > Customize > Additional CSS.
Hope this clarifies.
June 24, 2022 at 2:37 am #2263012eran
Alright thanks.
how can i change the color of the breadcrumbs?
i changed it in the cosutmizer but it didnt change the current page link colorJune 24, 2022 at 2:42 am #2263016Fernando Customer Support
You might need custom CSS. Can you provide a link to where we can see the breadcrumbs?
Hope to hear from you soon.
June 24, 2022 at 4:59 am #2263133eran
Hi Fernando,
I add the link.
Plus I cant see the logo on mobile any idea why?June 24, 2022 at 5:17 am #2263145David
StaffCustomer SupportHi there,
try this CSS for the breadcrumb current page:
.breadcrumb_last { color: #fff; }
so your site has a retina logo that is 404ing.
Go to Site Identity and add a logo to the Retina field.June 24, 2022 at 7:45 am #2263258eran
It worked but the arrow icon doesn’t change the color.
I must use css to change that?June 24, 2022 at 8:07 am #2263412David
StaffCustomer SupportRemove the CSS.
Edit the Container Block that has the breadcrumb inside, and in its Color settings change the Text to the color your want. Its currently set to that dark blue you see – that will also fix the arrowsJune 24, 2022 at 8:46 am #2263437eran
thanks David!
and to change the post date color i need to use CSS?June 24, 2022 at 8:54 am #2263446David
StaffCustomer SupportIn Customizer > Colors under the Content tab you will find the colors for Entry Meta Text and Entry Meta Links.
T -
AuthorPosts
- You must be logged in to reply to this topic.