Skip Navigation

[Resolved] Changing color of pagination controls

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Shane 6 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1113125
Capture.PNG

Tell us what you are trying to do?
I am trying to change the Pagination controls to match the color of the site I have made a search on site for previous support request but cannot find a solution.

I have made an attempt via site inspector to target the correct items for CSS and come up with the following

.wpv-filter-pagination-link{
background-color: rgb(75,115,36);
}

.wpv-filter-previous-link{
background-color: #4b7324;
}

.wpv-filter-next-link{
background-color: #4b7324;
}
And have tried both hex and RGB values.

Is there any documentation that you are following?

Is there a similar example that we can see?
hidden link
What is the link to your site?
hidden link

#1113197

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alan,

Thank you for contacting our support forum.

To change the color of the active link you need to use this css.

.pagination > .active > span{
background-color: rgb(75,115,36) !important;
    border-color: rgb(75,115,36) !important;
}

.pagination > li > a{
color: #337ab7 !important;
}

Please try this and let me know if it helps.

Thanks,
Shane

#1113203

Thanks for that Shane that works in part..

What do I need to outer lines to the same color

#1113204

Also when you click on next or previous or specific page whilst it switches is there any way to stop it flashing back to blue?

#1114401

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alan,

This is actually because we are overwriting the css for bootstrap later in the load process of the page.

What you can do to help with this is to use the AJAX pagination instead of a full page reload.

Thanks,
Shane