Re: tabs hanging over the border

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 day ago #949 by milos
This can be done by centering the container element of the module position. So, you have to edit your template's index.php or css file and add text-align:center; or align="center" to the DIV (or TD) where your module position is located. Usually, it looks like this
Code:
<div class="something"> <jdoc:include type="modules" name="user3" style="none" /> </div>
In this sample, module position is user3 and you should center DIV with class "something" in your CSS file.

Please Log in to join the conversation.

  • vortex71
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
15 years 1 day ago - 4 years 7 months ago #950 by vortex71
Hi Milos,
thank you for your reply ...but I still need some help.

The module is located in BANNER1 position and here is the code line
Code:
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />

I wrapped up with <center></center> so it look like
Code:
<center><jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" /></center>

and it does center the module ...but also the pics go over the text area within the module

I want aslo if possible to add some space or border (please see image)
Thank you
Attachments:
Last edit: 4 years 7 months ago by milos.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 day ago #953 by milos
Now you should edit file style.css of the module and add text-align:center; parameter to all classes.

Please Log in to join the conversation.

  • vortex71
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 11 months ago #991 by vortex71
Hi Milos,
I'm sorry but actually I still have the same problems with tabs hanging over ..I thought I fix it
I need your help
I put padding :0; in the param (in the style.css )but no results
thanks

Please Log in to join the conversation.

  • vortex71
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 11 months ago #994 by vortex71
figure out ..need to put this in the template.css
#featured ul.ui-tabs-nav li, #featured li.ui-tabs-nav-item a {
margin:0;
}

thanks

Please Log in to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum