Hello,
I’m hoping to get some assistance regarding my page/site title. I have a site title that is used at the top of every page, that acts as a link back to the homepage.
I am wanting to add a line break (actually 2) into the title so that I can format it to look a certain way. My hope is that adding the line breaks will help me control to some degree, which words are on each line of the title, when displayed on desktop, tablet and phone. I hope that makes sense! I’m super new to all of this so I’m learning as I go.
If you go to my site that I’ve linked you can see that the site title reads (on desktop):
INSPIRED BY THE
WORLD DECOR &
DESIGN
I’d prefer to add some line breaks so that it reads:
INSPIRED BY
THE WORLD
DECOR & DESIGN
I know it will change for tablet and phone but I still think it would look better.
I’ve tried using the Page Title Splitter plugin and just couldn’t get it working at all. I also tried to use the code below, putting it into this part (functions.php.) of the Blockbase code, and again nothing happened. When I added [br] or <br> to the site title text you could see that text, not a line break.
function line_break_shortcode() {
return ‘<br />’;
}
?add_shortcode( ‘br’, ‘line_break_shortcode’ );
I’m not sure if I’m just making a silly mistake or missing something completely. As I mentioned, this is the first time I’ve ever tried anything like this and I’ve now spent sooo many hours just trying to add a line break! Any help would be greatly appreciated!
Thank you in advance!
I’ve noticed an issue with this theme where embedded HTML content or objects inserted with shortcode.
In my example I’ve used an embedded HTML countdown clock from logwork.com as well as a shortcode insert from the collapse-o-matic plugin. However the issue should be reproducible with any similar objects.
Visible in the screenshots I’ve linked below, objects are forced to the left of the page outside the content margin. I’ve tried manually setting the width to the default of 664 pixels with no change.
I’m certain this is a result of this theme considering the issue isn’t present when I switch to the base theme: Blockbase.
I’ve resolved this by switching to the base theme but I thought it would be helpful to leave a bug report.
]]>