[Support request] How to change blog cards title + author links colors

Home Forums Support [Support request] How to change blog cards title + author links colors

Home Forums Support How to change blog cards title + author links colors

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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.

    #2262759
    Ying
    Staff
    Customer Support

    Hi 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-information

    Let me know 🙂

    #2262763
    eran

    Hi Ying,
    I added the blog page.
    i try to change the cards title color and the authour name color links.

    #2262766
    Ying
    Staff
    Customer Support

    You 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.

    #2262771
    eran

    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?

    #2262786
    Fernando
    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.

    #2263012
    eran

    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 color

    #2263016
    Fernando
    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.

    #2263133
    eran

    Hi Fernando,
    I add the link.
    Plus I cant see the logo on mobile any idea why?

    #2263145
    David
    Staff
    Customer Support

    Hi 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.

    #2263258
    eran

    It worked but the arrow icon doesn’t change the color.
    I must use css to change that?

    #2263412
    David
    Staff
    Customer Support

    Remove 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 arrows

    #2263437
    eran

    thanks David!
    and to change the post date color i need to use CSS?

    #2263446
    David
    Staff
    Customer Support

    In Customizer > Colors under the Content tab you will find the colors for Entry Meta Text and Entry Meta Links.
    T

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.