Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » hacking the theme

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: 1643 Views
  • frederik aka tina
    Avatar
    Community Member
    5 Posts

    hacking the theme Link to this post

    I'm new to silverstripe and I've some css skills so i thought, I could easy hack the default theme (blacksomthing...), but i'm stuck with the menu hover, I can't find where the color is set of the menu title more exactly the hovercolor the rounded corners is done with an image which i already custumized that..., does someone know how change this.
    I've been trying to find its setting in the main layout.css (i think it was that) , typography.css files but no luck for me....

  • DaveP
    Avatar
    Community Member
    48 Posts

    Re: hacking the theme Link to this post

    Hi Frederik,

    I searched for 'hover' in layout.css and found occurrences in.

    #navigation

    ul#Menu2 &

    #Footer

    So it must be one of those ?

    HTH -Dave Porter

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: hacking the theme Link to this post

    I couldnt make the theme too easy for people to edit anyway which menu are you taking about? the top tabs or the left sidebar

    The CSS is all categorized to a point so each area is keep together. layout.css 91-145 is all the lines that control the top menu. That should be fairly clear to understand...

    It should be in layout.css, I dont think it would be in typography. If it is I will slap myself because it shouldn't!.

  • frederik aka tina
    Avatar
    Community Member
    5 Posts

    Re: hacking the theme Link to this post

    i'm talking about the top menu....

    #Navigation ul li a:hover {
                 background: #93C7E7 url(../images/hoverTabLeft.gif) no-repeat left top;
                color: #fff;
                cursor: pointer;
                }
             #Navigation ul li a:hover span {
                background: #93C7E7 url(../images/hoverTabRight.gif) no-repeat right top;
                cursor: pointer;
             }

    i think it would be this i don't understand how i missed that....

    i'll try as soon as possible, i can't test it this week, i'm elsewere, and i host the server at my home, but did not setup an ftp(stupid me), so i can't access the files. It would be nice if there was some kind of tool in the adminpage were you can edit the files directly on the server... that's the only thing i miss sofar
    ps i only have it installed 1.5 days sofar and i realy like it no more mambo for me....

    1643 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.