Center align Portal Homepage July 15, 2017, 03:56:43 am 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 – July 15, 2017, 08:40:49 am the portal css file is called portal.css It is in the /themes/default/css directoryI'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 – July 15, 2017, 09:43:56 am 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 – July 15, 2017, 10:39:20 am @Egbune do you mean center the text in all the blocks in the home page?
Re: Center align Portal Homepage Reply #4 – July 15, 2017, 12:01:19 pm Quote from: emanuele – July 15, 2017, 10:39:20 am@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 – July 17, 2017, 02:31:33 pm 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.