Title: Dbox 3D Slider Lite php code
Last modified: August 22, 2016

---

# Dbox 3D Slider Lite php code

 *  Resolved [leviverhoeven](https://wordpress.org/support/users/leviverhoeven/)
 * (@leviverhoeven)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/)
 * The php code <?php if( function_exists( “get_dbox_slider_recent” ) ){ get_dbox_slider_recent();}?
   > don’t work in my frontpage.php
 * Does anyone know why?
 * [https://wordpress.org/plugins/dbox-slider-lite/](https://wordpress.org/plugins/dbox-slider-lite/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [sukhada](https://wordpress.org/support/users/sukhada/)
 * (@sukhada)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478415)
 * Hi there,
 * There must be some specific issue due to which the slider is not appearing on
   your front page. Can please send us the url where you have embedded the slider
   or you can send url to our support mail address support [at] slidervilla [dot]
   com. So that we can also take look into the scenario and try to fix it.
 * Thank you for all your patience.
    Waiting for your response.
 * Best Regards,
    Sukhada, SliderVilla Support Team.
 *  Thread Starter [leviverhoeven](https://wordpress.org/support/users/leviverhoeven/)
 * (@leviverhoeven)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478428)
 * I solved it already, I removed this ‘_recent’ in the php code.
 * Other question, how can I position the slider in the center of my homepage? What
   css code or Other solution?
 * This is my site:
 * [http://tijnz.nl](http://tijnz.nl)
 * Regards,
 * Levi
 *  [sukhada](https://wordpress.org/support/users/sukhada/)
 * (@sukhada)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478434)
 * Hi there,
 * To position slider in center, please go to Basic tab => Miscellaneous => Custom
   Styles => Here add the style given below,
 *     ```
       .dboxlite_slider {
       margin: 0 auto !important;
       }
       ```
   
 * Hope it will help you.
    Thank you for all your patience.
 * Best Regards,
    Sukhada, SliderVilla Support Team.
 *  Thread Starter [leviverhoeven](https://wordpress.org/support/users/leviverhoeven/)
 * (@leviverhoeven)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478435)
 * Hi Sukhada,
 * It works! 😀
 * Thank you very much!
 * Regards,
 * Levi
 *  [jdbarr](https://wordpress.org/support/users/jdbarr/)
 * (@jdbarr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478501)
 * I have tried the code mentioned above and cannot get dboxslider to center on 
   the page. Code I used was…
 *     ```
       .dboxlite_slider {
       margin: 0 auto !important;
       }
       ```
   
 * My site is [http://www.silentwordministries.org](http://silentwordministries.org)
 * Any other ideas?
 * Jon
 *  [sagar.k](https://wordpress.org/support/users/sagark/)
 * (@sagark)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478502)
 * Hi Jon,
 * Please put following CSS code in to Dbox Lite Slider => Settings => Basic => 
   Miscellaneous => Custom styles.
 *  `.dbox_slider {
    margin: 0 auto !important; }`
 * Let me know if it helps.
 * Thank you,
 * Regards,
    Sagar SliderVilla Support Team.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Dbox 3D Slider Lite php code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/dbox-slider-lite_6e829c.svg)
 * [Dbox 3D Slider Lite](https://wordpress.org/plugins/dbox-slider-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dbox-slider-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dbox-slider-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dbox-slider-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dbox-slider-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dbox-slider-lite/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [sagar.k](https://wordpress.org/support/users/sagark/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/dbox-3d-slider-lite-php-code/#post-5478502)
 * Status: resolved