/    Sign up×
Community /Pin to ProfileBookmark

Nivo Slider – Align to center

I have a website in Sharepoint which I have recently added the Nivo Slider image slider to.

All is working great, however I can’t get the nivoslider to align to the center of the page, instead it sits at the top left of the page.

I am using this code:

<style type=”text/css”>
.ms-promlink-root {text-align:center; display:inline-block;} .ms-promlink-body {width:auto; display:inline-block; text-align:center;}
</style>

But I have not results. Any ideas?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogMar 07.2019 — [[58],[2,8]]
Copy linkTweet thisAlerts:
@NogDogMar 07.2019 — Unless someone here has experience with that specific slider tool, we may need to see the (generated?) HTML around that slider in order to understand what classes/ids/tags need to be styled in which manner. text-align: cetner; may not matter if the containing block is not centered itself, is my guess.
×

Success!

Help @YemZamora spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...