Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1008157

    I am using a Headline Rotator element on a page within a site and the Prepended static text – ie. the first line – is not aligning to center even though the rotating text and the appended static text lines are.
    I have checked the element settings are set to Center align, I have deleted and re-created the element but it still appears to be doing the same.
    Help please?
    Thanks

    #1008163

    Hey janerichter,
    Can you please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #1008166
    This reply has been marked as private.
    #1008775

    Hi,

    Thanks for the update.

    This css code should center align the rotator text.

    .av-rotator-container-inner {
        text-align: center !important;
        clear: both;
    }

    Best regards,
    Ismael

    #1008790
    This reply has been marked as private.
    #1008847

    Hi,

    Please try it in Quick CSS under Enfold->General Styling :-)

    Best regards,
    Rikard

    #1009813

    Hi Rikard

    Still no joy I’m afraid – it is still out of alignment. Due to time constraints we have had to take the site live as it is supporting a new marketing campaign. The live page is

    Is there anything else that I can try? I have another rotator and that is working fine

    Any ideas?

    #1009883

    Hi,
    I logged into your test site above and took a look at your issue, I found that you had this code in your Enfold Theme Options > General Styling > Quick CSS field

    <script type="text/javascript">
        (function() {
            var trial = document.createElement('script');
            trial.type = 'text/javascript';
            trial.async = true;
            trial.src = 'https://easy.myfonts.net/v2/js?sid=190012(font-family=Cutz)&key=dY5c5sjKYZ';
            var head = document.getElementsByTagName("head")[0];
            head.appendChild(trial);
        })();
    </script>

    which was causing the error, I moved the code to your Enfold Theme Options > Google Services > Google Analytics Tracking Code to test and it corrected the error.
    I would recommend adding this script to the end of your functions.php instead though, but you will need to do so via FTP or your hosting panel “file manager” the location of the file is:

    \wp-content\themes\enfold\functions.php

    To add it to the end of your functions.php I wrote it as a function, please use this code:

    function myfonts_script(){
      ?>
      <script type="text/javascript">
        (function() {
            var trial = document.createElement('script');
            trial.type = 'text/javascript';
            trial.async = true;
            trial.src = 'https://easy.myfonts.net/v2/js?sid=190012(font-family=Cutz)&key=dY5c5sjKYZ';
            var head = document.getElementsByTagName("head")[0];
            head.appendChild(trial);
        })();
       </script>
      <?php
      }
      add_action('wp_footer', 'myfonts_script');

    Please follow these steps to correct the error on your live site.

    Best regards,
    Mike

    #1177049
    This reply has been marked as private.
    #1177146

    Hi,
    Sorry I was not able to see your page because it is in maintenance mode. I recommend opening a new thread with your admin login in the Private Content area, Since this is not your thread posting your login here will not be private. You can post a link to your new thread here so it will be easier to find.

    Best regards,
    Mike

    #1258480

    Hi
    Sorry to jump into this ticket, but I have the same problem, the rotator text is not centering even if I have selected “center” alignment.
    I tried the suggested CSS in the Enfold general settings but it does not center the text.

    Any suggestion, as this would be working from the settings in the rotator element and not having to add more CSS.

    Thanks
    Lyse

    #1258482

    Ooops: here’s the website page where you can see for yourselves: https://silviastaging.wpengine.com (password to view the page is: newhome)

    #1258483

    Hi
    This is the CSS element that worked for centering:
    .av-fixed-rotator-width .av-rotator-text {
    text-align: center;
    display: inline-block;
    }

    But still I should not have to add this extra CSS when the rotator element sets the alignment already.
    Lyse

    #1258795

    Hi Lyse,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.