close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Altering the CSS on the Product Detail page

Thread began 2/26/2013 12:54 pm by BruceT | Last modified 2/27/2013 9:37 am by Jason Byrnes | 2522 views | 5 replies |

BruceT

Altering the CSS on the Product Detail page

I've attached a screen shot of a portion of my product detail page. Is there a way to make the image smaller and make the text line up to the right of the image instead of being below it? I hesitate to go in and mess with the CSS other than the configurable CSS file.

Sign in to reply to this post

Jason ByrnesWebAssist

to change the image size, edit the webassist/plugins/catalog/details.php page at line 73:
$imgWidth = 300;


you can change the image width there.


Send a link to your site so i can examine the css to determine the best way to move the description text.

Sign in to reply to this post

BruceT

The address of my website

Jason,

The address of the website is www.bighornoliveoil.com

Thank you for looking into this.

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/plugins/catalog/details.php file, change lines 83 - 85:

php:
<div class="addToCart"><?php echo($WAAddToCart->Body); ?></div>

        </div>
        <div id="ProductLongDesc"><?php echo wa_evaluate($row_WADAProducts["ProductLongDesc"]); ?></div>




to:

php:
<div class="addToCart"><?php echo($WAAddToCart->Body); ?></div>

      <div id="ProductLongDesc"><?php echo wa_evaluate($row_WADAProducts["ProductLongDesc"]); ?></div>
        </div>



and in the webassist/themes/BHOOC/css/configurable.css file, add the following css:

#ProductLongDesc {
float: right;
width: 400px;
}
Sign in to reply to this post

BruceT

Success

Thank you Jason... that worked perfectly.

I don't know if I need to post a different Thread but every time I go in to tweak the custom theme I created, it defaults back to some previous setting that changes the background color and a number of other page features. It doesn't change everything back... just certain page elements.

How do I prevent this from happening? Where is the file it's defaulting to, so I can go in and make the changes permanent?

Sign in to reply to this post

Jason ByrnesWebAssist

it should take the settings from the configurable.css file.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...