Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Custom Login Page CSS Rounded Corners

    Here is a link to my custom login page:

    https://www.limelites.co.uk/index.php?main_page=login

    It's getting there, but I am trying to make the corners or the border round using CSS.... Finding it a nightmare!

    Been googling and this is the best they can come up with:

    HTML:
    <div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">
    </div></div></div></div></div></div></div></div>

    CSS:
    .t {background: url(dot.gif) 0 0 repeat-x; width: 20em}
    .b {background: url(dot.gif) 0 100% repeat-x}
    .l {background: url(dot.gif) 0 0 repeat-y}
    .r {background: url(dot.gif) 100% 0 repeat-y}
    .bl {background: url(bl.gif) 0 100% no-repeat}
    .br {background: url(br.gif) 100% 100% no-repeat}
    .tl {background: url(tl.gif) 0 0 no-repeat}
    .tr {background: url(tr.gif) 100% 0 no-repeat; padding:10px}

    How would I code this into my tpl_login_default.php and my custom login.css files?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Custom Login Page CSS Rounded Corners

    There are a couple of free templates that have css rounded corners at http://(sorry, site offline)/

    Might look at niftyzen, if my memory serves me right
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    It's so easy to just add:

    -moz-border-radius: 5em;

    to the stylesheet but that only works for mozilla browser... That's gonna have to do, spent toooooo much time on this :-)

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    Since it's for the log-in page only, why not make the width static, even if your width is dynamic elsewhere, and then use a background graphic with your rounded corners, with the stylesheet only used to control the placement of the form elements over that background?

    Rob

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    Rob, Thanks for the suggestion, spent 10 minutes on it this morning and the result is exactly what I wanted:

    https://www.limelites.co.uk/index.ph...74f18e3aebf0c9

    Me's liking that!

  6. #6
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    Very nice!

    Rob

  7. #7
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    Thanks....

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    humm, you should start designing template for people like me , graphically challenged

  9. #9
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    Hi Tony, long time.... how's your biking going?? Hope you're getting the weather :-)

    I've been too tied up in my own, knee deep in puzzling code as always :-) Check out some of my recent threads, don't seem to get any answers these days... questions must be getting too complex :-)

  10. #10
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Custom Login Page CSS Rounded Corners

    yep , been long time,
    weather ??? biking ?? well, still snowing . lol.
    i been checking some of your question , and sure is getting complex enough that you need top guys attention ..

    i can only add 5px padding here and there , thats all i can do with zencart .
    if you have padding question .. i be there to answer it

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Rounded corners
    By commdiver in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Jan 2011, 12:45 AM
  2. rounded corners
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Jul 2010, 07:20 PM
  3. rounded corners
    By wotnow in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jul 2010, 03:07 PM
  4. Rounded Corners
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Sep 2009, 12:28 AM
  5. CSS rounded corners
    By kjharrison in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 9 Sep 2006, 11:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR