1. ThomasBraun
  2. Commercial Templates
  3. Wednesday, 12 November 2014
  4.  Subscribe via email
First I included a banner with the banner component via loadposition into an article text.
That banner was centered and with:
<div style="text-align: center;">{loadposition joomla-module}</div>

it worked fine.
Now I switched to AdAgency and I do not find any way to center that position within the article, it is the same code
<div style="text-align: center;">{loadposition banner-im-text}</div>

Please have a look here:

The upper one is the AdAgency module position and the one below the position containing the banner module.
I already tried to look with Firebug, there stands "text-align: center", but the banner is on the left not in the center of the content area.

Same problem now in contentbottom area. You helped me to solve that with:

.banneritem {
text-align: center;
}


That does not work anymore. Can you please tell me, what I have to put in there instead of 'banneritem'?

Hope you can help me again.
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of this issue? It is not included in the above post.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Ah sorry, I prepared an example page, but made a mistake posting the link.....
here it is:
www.region-leipzig.com/temp
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Thomas

Strangely everything we have tried in centring your module has failed. Due to how the module is nested there is little template CSS that would have effect. Have you considered contacting the developer of the extension regarding the issue?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
no, I first tried my luck with you, now I contact them.
Hope they can help. If yes, I will post the solution here.
Thanks,
Thomas
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán,
that is solved now.
They needed to make some changes to their file "modules/mod_ijoomla_adagency_zone/helper.php". Don't know what they did, but now it works fine, the ijoomla-banners are centered.
Thomas
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Great :)

Thank you for the update!

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!