Hi everyone;
I am trying to to customize the look of related items in (Item View), basically all I am trying to do, is to have the introtext display next to the image. I managed to do this but I have a small problem in that if a Item doesn't have a image the into-text still aligns as if there is an image {inline-block} I think it's called. anyway I am at my wits end trying get it to align to the left, sorry bout the confusing description here a image maybe better describe.
I have added the following CSS
I am trying to to customize the look of related items in (Item View), basically all I am trying to do, is to have the introtext display next to the image. I managed to do this but I have a small problem in that if a Item doesn't have a image the into-text still aligns as if there is an image {inline-block} I think it's called. anyway I am at my wits end trying get it to align to the left, sorry bout the confusing description here a image maybe better describe.
Attachment not found
I have added the following CSS
Topic Author
13 years 11 months ago #107514
Hi William,
Thx for taking a look at this for me, I just uploaded on a test server HERE , the sites a work in progress any suggestions much appreciated.
thx in advance Pete.
Thx for taking a look at this for me, I just uploaded on a test server HERE , the sites a work in progress any suggestions much appreciated.
thx in advance Pete.
13 years 11 months ago #107515
<img class="itemRelImg" alt="" src="/" style="width:50px;height:auto;">
T his is the problem.
Need to add some php if code around the code that displays it
T his is the problem.
Need to add some php if code around the code that displays it
Topic Author
13 years 11 months ago #107516
Hi William,
Thx again for your help, I checked out the code in item.php it appears to already be surrounded by an if
Thx again for your help, I checked out the code in item.php it appears to already be surrounded by an if