- Posts: 3
- Thank you received: 0
Re:How to center align?
-
melanie_h
Inactive member -
- New Member
-
Less
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
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
-
Less
More
- Posts: 6797
- Thank you received: 723
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.
-
melanie_h
Inactive member -
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
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
-
Less
More
- Posts: 6797
- Thank you received: 723
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):
Change 100 to proper value until it's centered.
Code:
#featured {
margin-left:100px;
}
Please Log in to join the conversation.
-
melanie_h
Inactive member -
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
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!
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.
-
daywalker86
Inactive member -
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
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
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