Guest Posted November 2, 2005 Share Posted November 2, 2005 Hi All, I have hacked up the legend skin from three to two column and cannot find where to control width of latest products can anyone help please. I must be overlooking something the skin is at click here Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 2, 2005 Share Posted November 2, 2005 In styleTemplates/content/index.tpl you'll find the latest products call, and you'll see the variable {VAL_WIDTH} As far as I can tell, this is pulled from the setting for number of latest products in ACP. In that division, following the second anchor tag is the call for the image: So, you presently have: <img src="{VAL_IMG_SRC}" alt="{VAL_PRODUCT_NAME}" border="0" /> You can specify image sizing there with inline styles, or, what I like to do is create a class in style.css for the division containing all this . . . and move the style info to the stylesheet. Less files to edit whenever you want to make changes in the looks. <div style="float: left; text-align: center; width: {VAL_WIDTH}px; height: 250px;"> (note: I prolly added the 250 height somewhere along the line) You can change this to: <div class="latestProd"> Then in style.css, add: .latestProd { Â Â position: relative; Â Â float: left; Â Â text-align:center; Â Â width: xxx; Â Â height: xxx; } .latestProd img { Â Â width:xxx; } Of course, having done this you can add any other properties that tickle your gizzard for latest product images or elements :dizzy: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 7, 2005 Share Posted November 7, 2005 Hi All, I have hacked up the legend skin from three to two column and cannot find where to control width of latest products can anyone help please. I must be overlooking something the skin is at click here hello, i have problems for view latest product.... you have mod? send by email? msn = [email protected] help me please Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.