WordPress.org

Ready to get started?Download WordPress

Forums

How to re-align revolution slider (4 posts)

  1. chrisgarone7
    Member
    Posted 9 months ago #

    Hi there helpful people of WP world!

    I am just trying to align my revolution slider on the left side of the page, but it just won't budge from the center.

    http://the-fischer-group.com

    It is the "TFG updates" slider, the small one in the middle of the page, the first slider has a bulldozer in it!

    I know it's a simple answer, but I am a beginner so any help would be greatly appreciated.

    Chris

  2. JarretC
    Member
    Posted 9 months ago #

    The margin: 0px auto; within the rev_slider_2_2_wrapper style value is causing the center align so you'll need to remove that from the div's code

    <div id="rev_slider_2_2_wrapper" class="rev_slider_wrapper" style="margin: 0px auto; background-color: rgb(233, 233, 233); padding: 2px; height: 200px; width: 300px; overflow: visible;">

    should be

    <div id="rev_slider_2_2_wrapper" class="rev_slider_wrapper" style="background-color: rgb(233, 233, 233); padding: 2px; height: 200px; width: 300px; overflow: visible;">

  3. chrisgarone7
    Member
    Posted 9 months ago #

    wow that is simple...

    Can you tell me where that is located in terms of where I go to make that little switch, is it in my theme editor css or the plugin css, I am having difficulty finding it.

  4. JarretC
    Member
    Posted 9 months ago #

    I really have no idea unfortunately :(

    Without being able to see the code for the site....if the slider is a plugin you'd have to modify the code. It won't be in the CSS though, it appears to be hardcoded into the code.

    You might be able to input the following in the bottom of your style.css file though:

    #rev_slider_2_3_wrapper {
    	 float: left;
    }

    It appears to work in Chrome but I'm not making guarantees that it'll work across all browsers or not cause issues with other elements of the theme

Reply

You must log in to post.

About this Topic