Tagged: alignment, center, centre, enfold, Text block
-
AuthorPosts
-
October 10, 2013 at 5:39 pm #173718
Hello,
I was using several Text Blocks around my site to create centred headings for coloured sections. Everything was fine for a couple of weeks but now text which was once centred, displays as left-aligned (in more than 1 browser).. Editing the Text Blocks shows they are still set to ‘Align Center’.
Basically, all Text Block content, anywhere on the site, is now ignoring the alignment setting.
Any idea what may have caused such a change? (I’ve also updated Enfold to latest release today but problem remains.
Although I’ll probably switch to using Special Heading elements soon, having found the code to centre those in another thread, I’d still like to know what’s gone wrong.
Any info appreciated.
October 10, 2013 at 8:37 pm #173794October 10, 2013 at 9:21 pm #173821This reply has been marked as private.October 11, 2013 at 4:55 am #173964Hey!
If you want the Text Block’s element to center align by default. You can add this on your custom.css or Quick CSS:
.avia_textblock { text-align: center; }
Best regards,
IsmaelOctober 11, 2013 at 1:42 pm #174130Many thanks, Ismael, but I have other Text Blocks in which I don’t want the text to be centred.
UPDATE:
I’ve found the issue affects the ‘Header’ formats in Text Blocks but not ‘Paragraph’. So, not all Text Block content is affected, as stated in my first post.I may just try reinstalling the theme and hope it solves it.
October 12, 2013 at 4:13 pm #174630Hello!
So adding a header1,2,3 etc into a regular text field doesn’t get the left, right center alignments from the text editor? Is it only inside the visual editor or advanced layout?
Let us know if it continues so we can try and re-create it and see if there is an issue we need to address.
Cheers!
DevinOctober 14, 2013 at 6:39 pm #175206Hi Devin,
yes, that’s correct. Headers 1,2,3,4,5,6 are always aligned left, regardless of align-center or align-right chosen. Either with advanced or default editor used.
This should be shown in the following 2 images :
https://dl.dropboxusercontent.com/u/51435787/editor.png
https://dl.dropboxusercontent.com/u/51435787/code.pngOctober 15, 2013 at 11:47 am #175576Another update (and I should’ve checked this sooner) : The issue also exists in other themes, so I guess it’s not caused by Enfold…
… still driving me crazy, though! :)
Thanks.
October 15, 2013 at 12:54 pm #175592After further investigation, the problem is solved by disabling the ‘SEO Smart Links’ plugin.
Apologies for inconvenience and assuming it was a theme-related problem.
-
AuthorPosts
- The topic ‘Text in Text Blocks now ignores alignment.’ is closed to new replies.