element.style

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

element.JPG

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?

[quote name='Adrian8' timestamp='1352307393' post='148553']

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?

[/quote]

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

how it is.JPG

want.JPG

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



.prices-block

{

top: -90px;

left: -80px;

}

Hi John,



What are you trying to achieve with standard mode?



Adrian

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:

[quote]

After the Manchester Utd game and guinnes

[/quote]

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

Who knows what will happen after guinnes :mrgreen:

[quote name='Adrian8' timestamp='1352314507' post='148568']

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



.prices-block

{

top: -90px;

left: -80px;

}

[/quote]



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

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.

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

[color=#1B8D01]```php



```[/color]
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

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.

That did it, cheers again, another thing learnt.



John