The Grid ajax page number layout

  • x theme
  • renew stack
  • the Grid

Hi guys,
I´m trying to adjust the colour of the ajax page number in my masonry grid using “The Grid”. What normally should be no problem with css is driving me nuts because of some hover effect of who I couldnt find the right string. Could you possibly lead me to the right direction how I can adjust the colour in normal an hover state of those page numbers and borders?
I can send you my login credentials if needed.
Thanks a lot!

Hi @gehess,

Thank you for reaching out to us. Try adding the following code in the Theme Options > CSS:

.tg-page-number.tg-page-current {
    background: #2bd7c0 !important;
    color: #000 !important;
}

.tg-page-number.tg-page-current:hover, .tg-page-number:hover {
    background: #1bb0df !important;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Let us know how this goes!

Thank you very much! It works fine!

Glad we were able to help :slight_smile:

Have a nice weekend!

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