Kastritis Posted March 21, 2022 Share Posted March 21, 2022 I used the "displayAfterBodyOpeningTag" hook on the Banner module and it displays on the left of the page. How can I get it to centre? Link to comment Share on other sites More sharing options...
endriu107 Posted March 21, 2022 Share Posted March 21, 2022 You need to add some style to your banner to center it. There is few way to do that. You can use text align center on element, margin, or flex box. Link to comment Share on other sites More sharing options...
Kastritis Posted March 26, 2022 Author Share Posted March 26, 2022 On 3/21/2022 at 1:05 AM, endriu107 said: You need to add some style to your banner to center it. There is few way to do that. You can use text align center on element, margin, or flex box. Thank you. As I don't have much knowledge in coding (just the basic and still learning), which file do I add style? The module "ps-banner" does not have a css file? Link to comment Share on other sites More sharing options...
endriu107 Posted March 26, 2022 Share Posted March 26, 2022 In custom.css file you should add any css changes. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now