Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Borders around products

    I don't know if this is the right place to post this if it is not sorry to all. I have searched and could not find anything on this subject.

    Can someone please tell me how and what file i need to modify to get boarders to show around the category pictures and the featured, new products and so on.

    Like the picture shown

    Thank you
    Attached Images Attached Images  

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Borders around products

    With css can create the effect although may not prefect, it is a starting point
    Code:
    /* Add borders to the cells of columnar display in center column */
    .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials, .specialsListBoxContents {
    	padding-bottom: 0.5em;
    	padding-top: 0.5em;
    	border-top: 0.1em solid #E7E7E7;
    	border-left: 0.1em solid #E7E7E7;
    	margin-right: -0.06em;
    	margin-left: -0.06em;
    }
    
    /* For style of the link which under the images of above column display */ 
    .centerBoxContentsNew a, .centerBoxContentsFeatured a, .centerBoxContentsSpecials a, .specialsListBoxContents a {
    	display: block; 
    	text-align: center;
    	padding-left: 5%;
    	padding-right: 5%;
    }
    A New Starter again

  3. #3
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Borders around products

    Thank you that worked for me..

    I do have another question can it be done for category images also. If it can How and what is the code i have to add for that.

  4. #4
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Borders around products

    In what page?

    .
    A New Starter again

  5. #5
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Borders around products

    On This page here is a link.

    http://citynights.no-ip.info/edy/ind...=index&cPath=1

    and on these pages

    http://citynights.no-ip.info/edy/ind...ndex&cPath=1_3

    also thanks for the quick response.

  6. #6
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Borders around products

    You are welcome!

    Quote Originally Posted by dscott1966 View Post
    This under the class below.
    .categoryListBoxContents

    Quote Originally Posted by dscott1966 View Post
    and on these pages

    http://citynights.no-ip.info/edy/ind...ndex&cPath=1_3

    also thanks for the quick response.
    And this under the class below.
    .centerBoxContentsProducts


    They can be grouped together if no special requirement.
    Code:
    /* Add borders to the cells of columnar display in center column */
    .centerBoxContentsNew, .centerBoxContentsFeatured, .centerBoxContentsSpecials, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsProducts {
    	padding-bottom: 0.5em;
    	padding-top: 0.5em;
    	border-top: 0.1em solid #E7E7E7;
    	border-left: 0.1em solid #E7E7E7;
    	margin-right: -0.06em;
    	margin-left: -0.06em;
    }
    A New Starter again

  7. #7
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Borders around products

    Thank you so much it looks alot better. You have been a big help.

    I do have one more question how do you get the border to go on the right side its on the left but not on the right. do i just play with the settings or do i need to put something else in the code. you can look at the last post at the links to see what i'm talking about.

  8. #8
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: Borders around products

    That is ok figured it out i just need to add this code, border-right: 0.1em solid #E7E7E7; to the one you gave me eariler to get it on the right.

    Again Thank you, You have been a big help.

  9. #9
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Borders around products

    Yes, the code above only have the borders for the left and top, and not for the right and bottom. You can add both of the the right and bottom borders to the css.

    And in some situations, add a height attribute will give uniform display and improve the effect.
    A New Starter again

  10. #10
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: Borders around products

    I do have one more question you said height, will that help to close of the boxes so that it will not have any spaces in between the first set and the second set and so on. if not how do i get that effect of a close box. that is the only problem. what is the code for that.

    Take a look at this to see what i'm talking about please.

    http://citynights.no-ip.info/edy/ind...=index&cPath=1

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding Borders Around Products?
    By PudzPud in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Feb 2010, 02:04 PM

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