Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Help pls

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1251 Views
  • OnebyOne
    Avatar
    Community Member
    54 Posts

    Help pls Link to this post

    does anyone knows what to insert in calendar css (userformbuilder) to preserve an width of 150px,

    mine is going away on right, see img attached

  • OnebyOne
    Avatar
    Community Member
    54 Posts

    Re: Help pls Link to this post

    the image

  • codepotato
    Avatar
    Community Member
    14 Posts

    Re: Help pls Link to this post

    Hi there,

    The CSS for setting a width is width: 150px;

    So, if your calendar div was #calendar, you'll need to the the following:

    #calendar{
    width:150px!important;
    }

    If that already appears, then maybe adding the !important before the semicolon might help, or alternatively setting the max-width element in the CSS.

    Hope that helps.

    Gareth

    1251 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.