CSS to move paging bar right 18px

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

CSS to move paging bar right 18px

Post by RLJB »

I have a custom query and for some reason the query sits about 18px to the right of the paging bar.

Any tips of where I can put my CSS to push ONLY the paging bar to the right 18px? margin-left: 18px; work in browser inspect, but can't figure out where to put it
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
customaware
Posts: 2405
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: CSS to move paging bar right 18px

Post by customaware »

Can you give us a screenshot Rod?
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Re: CSS to move paging bar right 18px

Post by johntalbott »

A screenshot would indeed help, but if I guessed correctly this should do it...

Put this in a custom CSS file

.k-pager-wrap {
margin-left: 18px;
}
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
johntalbott
Posts: 619
Joined: Wed Jun 17, 2015 11:16 pm
Location: Omaha, Nebraska
Contact:

Re: CSS to move paging bar right 18px

Post by johntalbott »

That last approach may not be the best as it will move all paging bars to the right 18px.

Since this is only for a specific custom grid, try this Render Script instead ...

Code: Select all

$("#" + parser.m_widgetInfo.markupId + "_pager").css ("margin-left", "18px");
VocalDay Solutions - Agility - Predictability - Quality

We specialize in enabling business through the innovative use of technology.

AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Re: CSS to move paging bar right 18px

Post by RLJB »

Thanks John that Render Script works perfectly!
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
Post Reply