Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.

    #173794

    Hi Leosoki!

    Can you post the link to your website?

    Regards,
    Yigit

    #173821
    This reply has been marked as private.
    #173964

    Hey!

    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,
    Ismael

    #174130

    Many 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.

    #174630

    Hello!

    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!
    Devin

    #175206

    Hi 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.png

    #175576

    Another 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.

    #175592

    After further investigation, the problem is solved by disabling the ‘SEO Smart Links’ plugin.

    Apologies for inconvenience and assuming it was a theme-related problem.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Text in Text Blocks now ignores alignment.’ is closed to new replies.