Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
When I use login short code of [userpro template=login], all elements are aligned at center .
How can I change this look as aligned left like this http://i.imgur.com/rY2eNGe.jpg
Same problem I am also facing.. after that I am using 100% width.. 🙂
Hope support team will give us a solution.
This is not a BUG, it’s a feature of the responsive part of UserPro. On a smaller widget, you can’t have all items aligned that will look off, so the plugin automatically resizes the logout card to be centered to fit in a smaller widget. That’s all 🙂
It’s controlled by this part scripts.min.js
jQuery(‘.userpro-is-responsive’).each(function(){
var upro = jQuery(this);
if (upro.width() <= 400) {
upro.addClass('userpro-centered-c').removeClass('userpro-head');
upro.find('*').addClass('userpro-force-center');
upro.find('.userpro-profile-name').addClass('small');
} else {
upro.removeClass('userpro-centered-c').addClass('userpro-head');
upro.find('*').removeClass('userpro-force-center');
upro.find('.userpro-profile-name').removeClass('small');
}
});
You must be logged in to reply to this topic.