Jump to content

Change 'Location' text at top of Prod page


PDMP Webmaster
 Share

Recommended Posts

Hello all,

Please see a product from my customer's site here. He wants the line at the top, 'Location: ...1931' to be enlarged and space added at the top and bottom of it to separate it from the picture below and the product name above it. I was fooling around with 'viewprod.tpl' in 'myskin/styleTemplates/content' and was able to change the size of all the text on the page, but not just the one line. Am I messing with the wrong file? My guess is I simply don't know how to properly insert code to modify the text properties.

Any help would be appreciated. Thanks!

Josh

Link to comment
Share on other sites

Hi Josh

On your viewProd.tpl find this line, near the top

<strong>{LANG_DIR_LOC}</strong> <a href="index.php"><img src="skins/{VAL_SKIN}/styleImages/icons/home.gif" alt="{LANG_HOME}" border="0" title="{LANG_HOME}" /></a> {CURRENT_DIR}

Wrap a div around it with an inline style. For example


<div style="float:left;font-size:14px;margin-bottom:15px"><strong>{LANG_DIR_LOC}</strong> <a href="index.php"><img src="skins/{VAL_SKIN}/styleImages/icons/home.gif" alt="{LANG_HOME}" border="0" title="{LANG_HOME}" /></a> {CURRENT_DIR}</div>

Hope that helps

Lee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...