Re: Can I use style 1,2,3 on positions advrt 1,2,3,4

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4759 by rali
Can I use style 1,2,3 on positions advrt 1,2,3,4 and how can we change the width of these for positions advert 1,2,3,4?

The advert 4 - must have a banner with size 300 and all other position must be wrapped properly into template.

Thanks in advance

Rali

Please Log in to join the conversation.

More
13 years 11 months ago #4767 by ivan.milic
Hi,

You can certainly do that. That is done by css modification. You have to find which css entities you need to change or add by looking at page source.
There is no magic parameter you can just set in order of changing module position size.

Please Log in to join the conversation.

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago #4783 by rali
Yes I know that but because you have made this template I thought that you can give me some instructions what and how to change because for me its a bit difficult to find what and how to change.


Regards,

Rali

Please Log in to join the conversation.

More
13 years 11 months ago #4796 by ivan.milic

Please Log in to join the conversation.

  • rali
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 11 months ago - 2 years 7 months ago #4808 by rali
mandja .com

I need advert4 to be with a width 300 px and the other advert 1,2,3 to fit the template if I put a module in each of them.

Now when we activate a banner on advert 4 and modules on advert 1,2 its ok but if we have a module on advert 3 the banner is pushed outside of the template.

And we can not apply your beautiful styles in this positions

Regards,

Rali
Last edit: 2 years 7 months ago by milos.

Please Log in to join the conversation.

More
13 years 11 months ago - 2 years 7 months ago #4817 by ivan.milic
Hi,
Using Template Manager go to option Edit HTML and paste the script from .txt attachment just before </head> like this:

Code:
<script type="text/javascript"> jQuery(document).ready(function(){ if(jQuery('.upper')[0]){ var positions = jQuery('.upper').children('.modulerow3'); if(positions.length > 0){ var TotalWidth = jQuery('.upper').innerWidth(); var Adv4Width = 300; if(positions.length > 1){ for(var i = 0; i < positions.length - 1;i++) { jQuery(positions[i]).css('width', ((TotalWidth - Adv4Width)/(positions.length - 1)) + 'px'); } } jQuery(positions[positions.length - 1]).css('width', String(Adv4Width) + 'px'); } } }); </script> </head> <body> ...[/i]
Last edit: 2 years 7 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.161 seconds
Powered by Kunena Forum