web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

left alignment of create button in webpage with entitylist

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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')

  • Community Member Profile Picture
    on at

    Write the script in Custom JavaScript of webpage

    Thanks

  • Verified answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    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;');
    });

    5432.2.PNG

    5432.2.PNG

    Mark this an answer, If it helps

    Cheers

    Arpit

    http://arpitmscrmhunt.blogspot.in

     

  • Community Member Profile Picture
    on at

    thanks for this coding solution, but I was hoping for a way similar to the action button configuration on entity-forms.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans