I am new to panels, and am attempting to design a panel page. Is there any simple way to center content in panels? I can mess around in css, but I feel like I must be missing some simple solution.

How do you center content in panels 3?

  • 1
    It's css. For example, .pane-views-abc .pane-content {text-align: center;} There are some modules if you Google it or you could create your own style but css is probably the easiest. – Niall Murphy Mar 8 '16 at 0:47
  • 1
    WOW ironically I just discovered a CSS bug in SE :O – No Sssweat Mar 8 '16 at 2:01
  • Thank you. I was hopeful that the answer was easier, but CSS isn't so bad. What would you suggest I modify with the css? The pane, the image, the region, or something else entirely? – naomisl Mar 8 '16 at 2:45
  • Is it D7 or D8? – kenorb Jul 24 '16 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.