Jump to content

[SOLVED] Align Product Image


Recommended Posts

Try this.
Change

#primary_block #pb-right-column {
float:left;
width:310px;
}


global.css (line 1863)

to

#primary_block #pb-right-column {
float:left;
width:100%;
}


and

#primary_block #image-block {
border:1px solid #D0D1D5;
height:302px;
width:300px;
}


global.css (line 1867)
to

#primary_block #image-block {
border:1px solid #D0D1D5;
height:302px;
width:300px;
margin:0 auto;
}

Link to comment
Share on other sites

  • 2 weeks later...

Sorry for really late replay I also thought you fixed it but that is other theme.

I downloaded theme and fix is to change

#primary_block #pb-right-column {
float:left;
width:311px;
}



to

#primary_block #pb-right-column {
float:left;
width:300px;
} 

Link to comment
Share on other sites

We must be using different Themes, those lines are different in mine but just a change of line for the commends, changed from 310 to 300 and it looked good but.................

/* product.tpl */
#primary_block #pb-right-column {
   width: 310px;
   float: left
}
#primary_block #image-block {
   border: #d0d1d5 solid 1px;
   height: 300px;
   width: 300px
}
#primary_block #image-block img#bigpic { 
   cursor: pointer; 
   height: 300px;
   width: 300px
}
#primary_block ul#usefull_link_block {
   list-style-type: none;
   margin-top: 1em
}
#primary_block ul#usefull_link_block li { margin: 0.5em 1em 0.5em 0; display: block }
#primary_block ul#usefull_link_block li a,
#primary_block ul#usefull_link_block span.span_link,
#primary_block ul#usefull_link_block span.span_link:hover {
   text-decoration: none;
   color: #76839b;
   font-size: 0.9em;
   background: white url('../img/bullet_alt.jpg') no-repeat top left;
   padding-left: 15px;
   height: 15px
}

32086_Z0NzcEG9Ng1RARcKogBU_t

Link to comment
Share on other sites

I think this theme was built for Prestashop 1.2 and crossseling module comes with 1.3.
Try adding following code to global.css

/* crosselling block */
#crossselling {
   margin: 0 auto 0;
   height: 120px;
   width: 100%
}
#crossselling_noscroll {
   margin: 0 auto 0;
   height: 120px;
   width: 100%
}
#crossselling_list {
   overflow: hidden;
   float: left;
   width: 96%
}
#crossselling_list ul {
   padding-left: 0;
   list-style-type: none
}
#crossselling_list li {
   float: left;
   margin: 0 3px;
   cursor: pointer;
   text-align: center;
   width: 100px;
   overflow: hidden
}
#crossselling_scroll_left,
#crossselling_scroll_right {
   background: url('../img/thumbs_left.gif') no-repeat center;
   text-indent: -3000px;
   display: block;
   width: 9px;
   height: 18px;
   float: left;
   margin-top: 30px
}
#crossselling_scroll_right { background-image: url('../img/thumbs_right.gif') }

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...