Hi
I must be missing something obvious
We have a webpage with an entity-list.
Above the list we have a create item button, but this button is alligned right
How can I make the buttons allign left ?
I can make it work when I change the class value below in "pull-left" in de developermode of the webbrowser, but what is the (persistent) CRM Dynamics Portal way to do this ?
<div class="pull-right toolbar-actions">.... buttons ....</div>
*This post is locked for comments
Hi Michel,
There is no out of box way to achieve this. You can achieve this using script only.
One more way you can try-
Navigate to Portals > Web Files > Open Bootstrap.min.css > Change the css file as per your need and upload it again.
Take the original file backup before performing this action.
Hope it helps.
Cheers
thanks for this coding solution, but I was hoping for a way similar to the action button configuration on entity-forms.
Hi,
You can write below code under Custom JavaScript section of your webpage:
$(window).load(function() {
$('.pull-right').removeClass('pull-right').addClass('pull-left');
$('.toolbar-actions').attr('style','position: absolute;');
});
Mark this an answer, If it helps
Cheers
Arpit
http://arpitmscrmhunt.blogspot.in
Write the script in Custom JavaScript of webpage
Thanks
One way would be to use jquery in the web page advanced section javascript to change the class value when the page loads.
Something like this:
$('.crmEntityFormView .actions div:first').removeClass('pull-right').addClass('pull-left')
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156