Re:How to center align?

More
15 years 1 month ago #609 by melanie_h
Replied by melanie_h on topic Re:How to center align?
I am also trying to figure out how to center align the module here: www.salpublib.org/

I'm not figuring out where to add the <center> code at.....

Thanks.
m

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 month ago #610 by milos
Replied by milos on topic Re:How to center align?
Try to open template's layout.css file and add "margin:0 auto;" for ".main .inner" (around line 23).

Please Log in to join the conversation.

More
15 years 1 month ago #615 by melanie_h
Replied by melanie_h on topic Re:How to center align?
tried that.... no movement....

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
15 years 1 month ago #616 by milos
Replied by milos on topic Re:How to center align?
Try this... Open module's /tmpl/style.css file and add this (at the end of file):
Code:
#featured { margin-left:100px; }
Change 100 to proper value until it's centered.

Please Log in to join the conversation.

More
15 years 1 month ago #617 by melanie_h
Replied by melanie_h on topic Re:How to center align?
worked perfectly!

Thanks so much. (I had spent forever changing css on the template and didn't even think to change the style.css on the module...!)

Thanks. Much appreciated!

Please Log in to join the conversation.

More
13 years 8 months ago #9496 by daywalker86
Replied by daywalker86 on topic Re:How to center align?
Hello, I need help also. I can`t align (center) navigation menu module. You can see how it looks like at : vermontbrcko.com/

I tried to edit index.php, like this:


<div id="pillmenu">
<center><jdoc:include type="modules" name="user3" /></center>
</div>


but it didn`t help

Please help

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum