Jump to content
fabienfons

[Solved] Pages number size in Loops

Recommended Posts

fabienfons

Hi,

 

At the bottom of the loops section, there is the page numbers...

I'd like to change their size... (they are too small in my opinion..)

Could you tell me how to do that ?

Fabien

www.youtips.com

Share this post


Link to post
Share on other sites
edgarcheverier

Hi, 

Yes just go to your LESS/CSS editor and use this code:

.pl-pagination-simple{

font-size:  20px;

}

It's going to look like this: https://cl.ly/2G2C1c153L44 

Share this post


Link to post
Share on other sites
fabienfons

thank you, it works perfectly :)

Would it be possible to encircle the numbers in black color ?

Share this post


Link to post
Share on other sites
edgarcheverier

Great! 

You can use something like this: 

.pl-pagination-simple .page-numbers{
    border: 1px solid black;
    border-radius: 50px;
}

Is going to look like this: https://cl.ly/1r0P3g3B1c3A

  • Like 1

Share this post


Link to post
Share on other sites
fabienfons

yeeeeeeeeeeeeeeeeeeeeeeeees !

THANK YOU VERY MUCH :)

Just perfect !

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Bill Bernat
      By Bill Bernat+
      Hi, I'm using a series of Loops sections on our PL5 site (insights.adaptiva.com), and on one section, I'd ideally like the loops to link to external URLs that are defined in the post in WordPress. Is that possible?
    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • fabienfons
      By fabienfons+
      Hi,
       
      I'd like to create 6 columns in Loops...
      Is it possible with custom code ?
      Thanks
      Fabien
    • Queue-it
      By Queue-it+
      Hi,
      Previous webmaster has made short codes assigned to certain categories. For example: [pl_section section="loops" id="003"]  displays all the Job posts for tech. 
      But where can I assign a short code for a certain category? I can't find where to add the loop ID for the category.
       
      Thank you
       
    • sfmstudios
      By sfmstudios+
      Hello!
      I've created a custom field (job_description) for my custom post type "Team Members" (here is the page: http://www.chillspa.com/meet-the-team).  I'd like this have this be a display option using the Loops section in PL5, but I couldn't find any documentation on how to add that.
      What options do I have?  Thanks!
×