Skip to main content
Topic: Center align Portal Homepage (Read 2108 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Center align Portal Homepage

Hi support, would love it if my simple portal home page was aligned to the center.

pls where can I access the css for my simple portal hompage css, the code to center align it and where to place it. Thanks!

Re: Center align Portal Homepage

Reply #1

the portal css file is called portal.css

It is in the /themes/default/css directory

I'm not sure what you are trying to do, but turning off the right and left columns and then placing all blocks in the top/bottom areas should be centered.

Re: Center align Portal Homepage

Reply #2

I did that already, but its still not centered. I could remember in SMF a code for aligning css. But the problem is where to place the code and can I use the same code for elkarte

Re: Center align Portal Homepage

Reply #3

@Egbune do you mean center the text in all the blocks in the home page?
Bugs creator.
Features destroyer.
Template killer.

Re: Center align Portal Homepage

Reply #4

Quote from: emanuele – @Egbune do you mean center the text in all the blocks in the home page?

yes, just that! I would like to center the text in the hompage alone

Re: Center align Portal Homepage

Reply #5

I need a (clean) SP install to check it out, but I guess something like:
Code: [Select]
.action_home .sp_block_container {
    text-align: center;
}
may work.
Bugs creator.
Features destroyer.
Template killer.