Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style the pagination using style.css #11

Open
bobbingwide opened this issue Jul 14, 2021 · 0 comments
Open

Style the pagination using style.css #11

bobbingwide opened this issue Jul 14, 2021 · 0 comments
Assignees

Comments

@bobbingwide
Copy link
Owner

If the Query pagination block and its child blocks can be styled using theme.json then it's a well hidden secret.

<div class="wp-block-query-pagination">
<div class="wp-block-query-pagination-numbers"><span aria-current="page" class="page-numbers current">1</span>
<a class="page-numbers" href="https://s.b/hm/page/2/">2</a>
<a class="page-numbers" href="https://s.b/hm/page/3/">3</a>
<span class="page-numbers dots">…</span>
<a class="page-numbers" href="https://s.b/hm/page/75/">75</a></div>
<a href="https://s.b/hm/page/2/" class="wp-block-query-pagination-next">Next Page »</a></div>

Setting the background colour on query-pagination doesn't produce the desired results.

BTW: It's the same sort of problem for menus.

@bobbingwide bobbingwide self-assigned this Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant