Site logo

Archived topic

content template block - title hover colour won't change

11 replies · Started by Tony on June 17, 2021

Viewing posts 1–12 of 12

hi gp,

i've created a new post archive block (content template).

in normal state the background is dark with white title, i hover i want the background white and title black...however, i got the background on hover white but the title won't change to black....

i've had a look at the customiser too, but not sure where i am going wrong with this.

can you help.

please see temp login - element is titled "blog post archive 2" it's at the top of the elements page.

Hi Tony,

It seems a potential bug, we can help with some CSS after you publish the element for now.

Let me know :)

hi Ying,

just published the element.

can you also please assist in having the container equal height without css preferably, if not, css would do.

also, when is this bug likely to be fixed as i'd rather do it via the element settings than use code.

thanks in advance.

please use temp long in....forgot to paste it

Hi Tony,

Try this CSS:

.gb-container-28490f01:hover a {
    color: #000000;
}

Tom is looking into this bug, I'm not sure when it's gonna be fixed, maybe next update?

For the container height, try set min hight to 285px instead of 180px

apologies for the late response...

the above worked. thanks very much.

You are welcome :)

hi Ying,

i'm having the same issue again in regard to the hover title colour despite the code you provided above. it was working initially, but all of a sudden now it's gone back to the way it was. on hover the title is again white instead of black.

.gb-container-28490f01:hover a {
color: #000000;
}

this is the code i entered on simple css and it was working, but not anymore for some reason.

Hi there,

try this:

1. Edit the Block Element - and select the parent container block. In Advanced > Additional CSS Class(es) add post-wrapper
2. Change your CSS to this:

.gb-container.post-wrapper:hover a {
    color: #000;
}

hi David,

just added the above css, but title still white on hover and can't be seen. this is confusing...

I can't see the CSS Class on the Container Block - did you follow step 1 above?

ah yes, thanks David, completely missed that first step, my fault, apologies. works just fine now. thank you.

This archived topic is closed to new replies.