Tagged: BoldGrid Themes, Swifty
- AuthorPosts
- October 3, 2022 at 7:13 pm #59991BethGuest
Greetings,
My Site Title was centered but it changed to left justified when I made some edits. I really need to set it back, but cannot figure out how to do it. Thanks. I don’t want to have to scrap this website and have a new one built, but I can’t have it not centered. I’ve already asked this and nobody replied. Please please help. Thanks.October 3, 2022 at 7:29 pm #60039Brandon CKeymasterHi Beth,
Thanks so much for reaching out and thank you for using Swifty WordPress theme with BoldGrid Post and Page Builder!
Sorry for the delay, we were out for the weekend. I see you have a second topic with a more pressing 404 issue so we can address that first and circle back to this.
Thanks Beth!
October 5, 2022 at 12:39 pm #60255Brandon CKeymasterHi Beth,
I’m happy to see your 404 issue is resolved. We were also able to come up with a bit of code that should center the site title in your theme. There are two parts to this code snippet, let’s first add the CSS.
Open your Custom JS & CSS editor Appearance > Customize > Advanced > Custom JS & CSS and add this bit of CSS to the Custom Theme CSS section:
.boldgrid-css{ background: white; } .site-title, .site-description { text-align: center; }
After adding your CSS scroll down to the Custom Theme JS section and add the jQuery below to modify the Bootstrap logic:
jQuery('div.col-md-6.header-6').addClass('col-md-12').removeClass('col-md-6'); jQuery('div.col-md-6.header-7').remove();
Be sure to “Publish” your changes after adding your code.
I really hope this helps! Please let us know if you have any other questions.
- AuthorPosts
- The topic ‘How do I center the Site Title in my Swifty WordPress theme?’ is closed to new replies.