Changing color of content dock close button

Hello,

How do you change the color of the content dock “close button”?

Hi There,

Please try adding the following CSS under X > Theme Options > CSS:

a.x-close-content-dock img {
    opacity: 0;
}
a.x-close-content-dock span:after {
    content: 'X';
    color: #fff;
    font-size: 15px;
}

Hope it helps :slight_smile:

Thanks for your efforts - sadly this didn’t work. I’m running Content Doc 2.0.2 by Themeco.

I tested the above with the old version (X - Content Doc V1.1.4) and the code provided DOES work for this old version.

Any idea how I can get it working on the new 2.0.2 version?

Thanks!

Hello There,

Please have the code updated and use this instead:

.tco-close-content-dock img {
    opacity: 0;
}

.tco-close-content-dock span:after {
    content: 'X';
    color: #fff;
    font-size: 15px;
}

We would loved to know if this has work for you. Thank you.

Brilliant! Thank you very much :wink:

You’re most welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.