Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #467669

    Hi,

    How can I put a widget bar area above the footer?

    For example see here:
    http://supervitality.me/ (the ‘Free Delivery over £50’ section

    View post on imgur.com

    I would need it built in to the templates maybe, as I would need it on every page by default?

    Thanks in advance.

    • This topic was modified 9 years, 5 months ago by hloft.
    #468145

    Hey hloft!

    Thank you for using Enfold.

    You can add something like this in the functions.php file:

    add_action('ava_before_footer', 'ava_before_footer_mod', 10);
    function ava_before_footer_mod() {
      echo "<div class='container_wrap custom-footer'><div class='container'>CONTENT HERE</div></div>";
    }

    Best regards,
    Ismael

    #470138

    Hi Ismael,

    Thank you that looks to have put the area in.

    Can you advise me on the best way to change colour background/center text, etc in line with CSS.

    Perhaps a colour section, how would i do this in there?

    Thanks

    #470150

    Hey!

    Please change Ismael’s code to following one

    add_action('ava_before_footer', 'ava_before_footer_mod', 10);
    function ava_before_footer_mod() {
      echo "<div id='custom-section' class='container_wrap custom-footer'><div class='container'>CONTENT HERE</div></div>";
    }

    And then you can add following code to Quick CSS in Enfold theme options under General Styling tab

    #custom-section { background-color: orange; }
    #custom-section .container { text-align: center; }

    Best regards,
    Yigit

    #470225

    Hi Yigit,

    Thanks for the update, its worked!

    I have set it up: https://pro4lifehealth.com/
    How can I change the paragraph style & colour of text?

    Thanks

    #470232

    Hey!

    I see that you have added following code to Quick CSS

    #custom-section .container {
      text-color: #ffffff;
    }

    which is invalid. Please use the code as following

    #custom-section .container {
    color: #ffffff;
    }

    Can you please elaborate on the changes you would like to make on paragraph? :)

    Regards,
    Yigit

    #470236

    Hi Yigit,

    Thank you, Im just getting started with CSS!
    That doesnt seem to have worked?

    As for the paragraph, how can I change the size of the text?

    Thanks,
    Harry

    #470240

    Hey!

    Please try changing the last code i posted to following one

    #custom-section .container {
    color: white !important;
    font-size: 16px !important;
    }

    If that too does not work, please create a temporary admin login and post it here privately so we can look into it.

    Best regards,
    Yigit

    #470247

    Hi Yigit,

    It doesn’t seem to have worked, login details attached.

    #470253

    Hey!

    Can you please try de-activating all active plugins and then flush browser cache and refresh your page a few times? New code is currently not being applied.

    Regards,
    Yigit

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