Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » HELP! Sidebar menu display issues!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2
Go to End
Author Topic: 2672 Views
  • nostrad
    Avatar
    Community Member
    25 Posts

    Re: HELP! Sidebar menu display issues! Link to this post

    Aram - stop saying that it is not a problem with SilverStripe ! Everything included in this software package is supposed to be part of SilverStripe. If something does not work - you cannot say it is not a problem of the software. Please. And stop telling me to read the tutorials. What I have is an issue with CSS or HTML somewhere in the files - the problem needs to be resolved. With your telling me to look here and change the CSS - I already know this . The problem is I don't know what to change and which file - and you cannot help me - so please refrain from giving these 'obvious' general response. I am looking forward to the developers or some expert user to give a specific response on solving my issue. Sorry, but you have not been of any help.

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: HELP! Sidebar menu display issues! Link to this post

    lol, you make me laugh

    Anyway this should fix your problem:

    themes/blackcandy/css/layout.css

    remove line 216: height: 1.8em;

    You may need to adjust the little arrow graphic to stretch over a wider distance to make it look clean.

    The issue here is that the blackcandy Theme (i.e. not SS itself) is set to have a fixed height for it's menu items, so if a long title is entered it will simply overflow onto the next item in the list. Firefox is a standards complient browser and so will stick to this wheras IE tends to do it's own thing, which in this case was useful, but in most is thoroughly annoying. IE 7 seemed to have the same issue as FF though.

    On a side note if you expect a core developer to help you fix CSS issues then you will be sorely dissapointed, these are the kind of issues that they expect us to resolve by ourselves because SilverStripe is targeted at Developers not end users. If you are developing sites you ought to have a reasonable grasp of CSS.

  • nostrad
    Avatar
    Community Member
    25 Posts

    Re: HELP! Sidebar menu display issues! Link to this post

    @Aram: Thanks for responding. Surprising that you took my scolding so well.. few people like you manage to stay positive in light of negative remarks to themselves.. I congratulate you. I am trying it now on the live site and will post back here with my findings. Thanks again.

    UPDATE: Aram, that seemed to have fixed it. Hopefully, anyone else facing this same issue can find this post and follow the instruction to fix it themselves. And even more hopefully, next release of SS will have that line 216 commented out. Thank you for your immediate assistance. - Nostrad.

  • Kalileo
    Avatar
    Community Member
    127 Posts

    Re: HELP! Sidebar menu display issues! Link to this post

    It is not only the BlackCandy theme which has this issue with the fixed height, but also some other themes. The solution as aram describes, taking out the fixed height declaration, usually is enough. However it might not work nicely with all themes, such as the old Vista theme. overflow:hidden; might help somewhat too, but then longer text is cut off. So it means that either the theme needs to be redesigned, or the user needs to understand that some fields have a length limitation.

    In my eyes this is clearly a theme problem, a design problem, and has nothing to do with the SS php code. My vote is for having the core developers doing just that, developing the core, and not fiddling with design issues.

    @nostrad: you might wanna get familiar with Firefox and Firebug (an extension/plug-in of Firefox). Firebug would have helped you to see very fast that there is a fixed height set and exactly in which file it is set, with path, file name, and line number. Once you have used that tool, you will not know how you had survived without it before.

    2672 Views
Page: 1 2
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.