Thread: round corners

Page 3 of 11 FirstFirst 12345 ... LastLast
Results 21 to 30 of 102
  1. #21
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: round corners

    Quote Originally Posted by TrvlFox View Post
    Have any of you used nifty corners or nifty layout? I see there is a template that included this. I was wondering which you liked better?

    vicky
    Nifty Corners is totally Cool!

    Example template I'm making with lots of rounding goin on including rounded CSS buttons:

    http://www.linuxpuppy.net

    use "demo" for both username and password...

  2. #22
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: round corners

    I want to try and use them for my ezpage links on the top. But I'm not sure exactly where to put the <div> and <ul><li> tags.

    I'm pretty sure it goes somewhere around here

    <code>
    <div id="topLinks">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
    require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');
    } ?>
    </div>
    </code>

    any ideas?

  3. #23
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: round corners

    You don't change your Zen Cart code to use Nifty Corners (well, you can if you are being creative), you put the javascript in all the right places (use the NiftyZen template as a guide) and then tell Nifty what to round.

    My Nifty config file for that demo site is this:

    /*nifty corners layout*/
    NiftyLoad=function(){
    Nifty("div#KimWrapper","big transparent");
    Nifty("div#roundEZPageNav", "normal transparent");
    Nifty("h3.leftBoxHeading","normal top transparent");
    Nifty("h3.rightBoxHeading","normal top transparent");
    Nifty("div.sideBoxContent","normal bottom");
    Nifty("div#cartWrap","normal");
    Nifty("div.cartWrap2","normal");
    Nifty("div#shippingMethodTable","normal transparent");
    Nifty("div.cssButton","small");
    Nifty("div#cartAdd","small transparent");
    Nifty("div.centerColumn","normal transparent");
    Nifty("div#navBreadCrumb","normal transparent");
    Nifty("div#navEZPagesTOCWrapper","normal transparent");
    Nifty("h2.centerBoxHeading","normal transparent");
    Nifty("div#navColumnOneWrapper,div#navColumnTwoWrapper,div#KimContent", "same-height transparent");
    }

  4. #24
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: round corners

    Quote Originally Posted by TrvlFox View Post
    I want to try and use them for my ezpage links on the top. But I'm not sure exactly where to put the <div> and <ul><li> tags.

    I'm pretty sure it goes somewhere around here

    <code>
    <div id="topLinks">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) {
    require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php');
    } ?>
    </div>
    </code>

    any ideas?
    TrvlFox , Please start a new thread. Thanks!

  5. #25
    Join Date
    Aug 2006
    Location
    West Virginia
    Posts
    321
    Plugin Contributions
    1

    Default Re: round corners

    Clyde here is the files im using... Hope this helps!

    Thanks,
    Chad
    Last edited by oxicottin; 3 Sep 2007 at 07:18 PM.

  6. #26
    Join Date
    Jun 2007
    Location
    frozen land of Nador
    Posts
    23
    Plugin Contributions
    0

    Default Re: round corners

    Rounded corners using CSS vs images vs Nifty Corners.
    Are there advantages or disadvantages to any of these?
    Will any be more difficult or easier to maintain?
    I see where Nifty uses javascript. Could there be compatibility issues with some browsers?

  7. #27
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: round corners


  8. #28
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: round corners

    Quote Originally Posted by arnold931
    I see where Nifty uses javascript. Could there be compatibility issues with some browsers?
    It will require java script to be enabled so yes some might not have this, but there are fewer and fewer as time passes
    Zen-Venom Get Bitten

  9. #29
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: round corners

    Last reply.

    I finally figured out a work around method for my nifty tabs. If you are interested, I posted what I did on http://www.zen-cart.com/forum/showth...422#post425422


    Vicky
    (feeling mighty proud of herself right now...)

  10. #30
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: round corners

    Quote Originally Posted by gjh42 View Post
    Clyde's instructions were for rounding the center column. To round the mainWrapper, you should be able to transfer the code to just below the <div id="mainWrapper"> and the ending code to just above the mainWrapper </div>. This will be just above the

    <!--bof- parse time display -->

    comment.
    Gents, great contributions, all off you, very helpful, much obliged.

    Anyway I just got stuck doing this middle piece and trying to get the navbar having rounded corners.
    Clyde's code works but it gets the rounded on the whole middle section which wasn't what i was after, i just want the navbar to be rounded.

    Then i will make all the middle bars rounded as well.
    There is an issue though with clyde's code that it gets the job done, but it narrows the max width to around 150 px which is a bit slim

    If i use the guidance in this one then i do get some part of the bar rounded but it places the text out of it, or smething, it is blurred :)

    Any thoughts how i should get just the navbar done?
    www.engeltjesendraken.nl/winkel
    it's the green bar :)

    cheers

 

 
Page 3 of 11 FirstFirst 12345 ... LastLast

Similar Threads

  1. centerBoxContentsProducts Round corners
    By kernheimer in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Apr 2011, 12:09 AM
  2. How to make round corners 1.3.8
    By Alfa in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Oct 2008, 12:21 PM
  3. How can I make the sideboxes corners round?
    By babynatura in forum Basic Configuration
    Replies: 1
    Last Post: 21 Feb 2007, 02:10 PM
  4. Soft round corners -2.... Where to put the CODE???
    By PeterBKK in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Jul 2006, 09:32 AM

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