How can I modify the pagination style in Sense theme?

Hey yall, can someone help me change my pagination style from

this one

to this one
livlaughloaf_1-1683717848509.png
?

Thank you so much!

Certainly! To change the pagination style on your website, you’ll need to modify the CSS code for the pagination element. Here’s a general approach you can take:

  1. Identify the pagination element: Inspect your website’s pagination element using your browser’s developer tools. Look for the HTML structure and classes that define the pagination.

  2. Customize the CSS styles: Once you’ve identified the pagination element, you can modify its appearance using CSS. Here’s an example CSS code that you can use as a starting point:

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li {
  margin: 0 5px;
}

.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f2f2f2;
  color: #333333;
  text-decoration: none;
  border-radius: 4px;
}

.pagination li.active a,
.pagination li.active span {
  background-color: #333333;
  color: #ffffff;
}

In the above CSS code:

  • The .pagination class targets the container element that holds the pagination items.
  • The .pagination li class targets each individual pagination item.
  • The .pagination li a and .pagination li span classes target the link and span elements within the pagination items, respectively.
  • The .pagination li.active a and .pagination li.active span classes target the active pagination item.
  1. Customize the styles: Adjust the CSS properties such as colors, background, padding, margin, and border-radius to match your desired pagination style.

  2. Apply the CSS styles: Insert the CSS code into your theme’s CSS file or the Additional CSS section in the theme editor. Save the changes to apply the new styles to the pagination element.