Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

element.style Rate Topic   - - - - -

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 07 November 2012 - 04:01 PM #1

I am trying to move the prices block up on my product pages but have been in every style file I can find and cant get it, I can do it in firefox exactly but then it shows the file to be in var/cahce/templates, can anyone tell me where to alter according to my image please,

I want to alter the -286 to be 396 and width aslo to suit.
thanks
john

Attached Thumbnails

  • element.JPG

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 07 November 2012 - 04:56 PM #2

Hi John,

You will not find this style in a style sheet, this style is applied using a html style tag. If you look at your highlighted div element you will see style="margin ........................................." this style tag may have been generated in a template file.

Which version of CS-Cart are using?
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 07 November 2012 - 05:31 PM #3

Hi John,

You will not find this style in a style sheet, this style is applied using a html style tag. If you look at your highlighted div element you will see style="margin ........................................." this style tag may have been generated in a template file.

Which version of CS-Cart are using?

Hi Adrian8 thanks for the reply,
v 3.03 the exact page is here which does have product designer enabled on it but I also have std products like here which I would also like to tweak
first imag eis how it is and second is what I am trying to acheive.

John

Attached Thumbnails

  • how it is.JPG
  • want.JPG

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 07 November 2012 - 06:55 PM #4

Try following css, it will reposition the block (product price and options):-

.prices-block
{
top: -90px;
left: -80px;
}
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 07 November 2012 - 07:07 PM #5

Hi John,

What are you trying to achieve with standard mode?

Adrian
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 07 November 2012 - 07:43 PM #6

Similar thing really just squeeze it up a little, I will be adding quite a few product options you see so once I find out what moves it I will play around with it.

thanks for the tip, i ll try later..After the Manchester Utd game and guinnes :grin:

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 08 November 2012 - 05:44 AM #7

After the Manchester Utd game and guinnes

After guinnes might not be a good idea! :-)

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 08 November 2012 - 10:53 AM #8

Who knows what will happen after guinnes :mrgreen:
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 08 November 2012 - 06:34 PM #9

Try following css, it will reposition the block (product price and options):-

.prices-block
{
top: -90px;
left: -80px;
}


Dropped it right into base.css and worked great, thanks Adrian 8.

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 08 November 2012 - 06:56 PM #10

You way want to put css changes in MyChanges, it will make future upgrades a little easier (not impossible though). I know version 3.0.4 is now out, but have not looked at what fixes are in this release.
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 08 November 2012 - 07:04 PM #11

Yeah, thanks. tried that first but am missing something, I have
/my_changes/base.css

and also addons/my_changes/hooks/index/styles.post.tpl with
<link href="{$config.skin_path}/addons/my_changes/styles.css" rel="stylesheet" type="text/css" />


Am I missing something, only just starting to learn the my_changes addon
do i need to add same thing in same place but with base.css

Thanks
john

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • Adrian8
  • Junior Member
  • Members
  • Join Date: 04-Feb 11
  • 138 posts

Posted 08 November 2012 - 07:15 PM #12

your href link is for styles.css but you have named your css file base.css in MyChanges, try changing base.css to styles.css. Also remember to clear cs-cart cache using ?cc when creating/modifying .tpl files.

Hope this gets it working.
www.ecopolar.com - V2.1.4
www.ledpolar.com - V2.2.4

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4923 posts

Posted 08 November 2012 - 07:36 PM #13

That did it, cheers again, another thing learnt.

John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2