Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 1
    In the upper left hand corner we have the "Start a new discussion" text.

    Is there a way to turn this into a graphic button? Some of my beta testers don't see it because they're used to seeing a graphic they can click on. I can design and host the button as long as there aren't any special dimensions to heed. If there are, what are they? Where would I put this code?
  1.  # 2
    I guess you can do that in the css?
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 3
    do you know which line(s) I should look at?
  2.  # 4
    hmmm..it seems it's just the Panel h1 element in which case if you add a background image on there it might mess up anything else using h1 in the panel (if there is anything)...i guess you could add another class into the theme or something? (kinda thinking out loud here, i'm really very inexperienced with css i'm afraid)
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 5
    that's okay. I'll keep trying to figure it out. I appreciate the effort though.
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 6
    What if I just want to change the text from "Start a new discussion" to "Create New Topic" or something?

    Would that be in the languages somewhere?
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 7
    Apparently that was it. I just edited the definitions.php
    •  
      CommentAuthorWallPhone
    • CommentTimeJul 19th 2007
     # 8
    Mini is right about the css:#Panel h1 a {
    background: url('http://wallphone.com/logosm.gif') center no-repeat;
    display: block;
    height: 33px;
    width: 180px;
    text-indent: -180px;
    }


    Adding an A in there will do this on H1s that contain a link--hopefully there won't be any

    This defines the location of the image, how it should appear on the screen, height should be set to whatever your image height is, image width must be less than 180px, since that is the hard-coded width of the panel, and the text-indent line moves the "start a new discussion" text off the screen.
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 9
    WallPhone, that was AWESOME! Thank you. I can't believe I didn't think of it, but I'm so glad you did.

    Very cool!
    •  
      CommentAuthorWallPhone
    • CommentTimeJul 19th 2007
     # 10
    Mini thought of it... I just translated it into CSS. (honestly, I never would have thought of using CSS... would have suggested the more complicated editing of themes/panel.php)
  3.  # 11
    High five wallphone!
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 12
    The only bad thing about it is in the private messages part because there are two instances of that CSS. So you get two Add Topic buttons haha.

    oh well. I'll see if I can clean that up.
  4.  # 13
    That was the conflict I mentioned.. :) You could get around that by messing with either the vanilla theme or the private messages css/theme I guess.
    • CommentAuthorHerrgeist
    • CommentTimeJul 19th 2007
     # 14
    I'll give that a shot. I had a feeling I may be able to do it in the private messages stuff so I'll see what I can do. If I get any good results I shall post them.
Add your comments
    Username Password
  • Format comments as