Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][HTML] Jak wycentrować Slider?, Centrowanie slidera
edekodkredek
post
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 2.10.2013

Ostrzeżenie: (0%)
-----


Witam wszystkich forumowiczów (IMG:style_emoticons/default/smile.gif)

Od jakiegoś czasu prowadzę stronę postawioną na wordpressie. Mam mały problem z wyśrodkowaniem slidera.

Oto strona : artfancy.pl

Gdzie szukać rozwiązania?

Oprócz tego co niżej wkleiłem, mogę jeszcze podrzucić metaslider.php
Próbowałem coś zmienić w metaslider.php, ale wyskakiwał mi błąd i strona się crashowała, przez co musiałem poprawiać pliki na serwerze i zmieniać kod do poprzedniej wersji.

Na WP w ustawieniach zaawansowanych slidera mam zaznaczone " wysrodkuj " jednak nie daje to jak widać efektów:(

Z góry dzięki!

Szablon strony głównej:

  1. <?php
  2. /**
  3. * The main template file.
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. * Learn more: [url="http://codex.wordpress.org/Template_Hierarchy"]http://codex.wordpress.org/Template_Hierarchy[/url]
  10. *
  11. * @package vantage
  12. * @since vantage 1.0
  13. * @license GPL 2.0
  14. */
  15.  
  16. get_header(); ?>
  17.  
  18. <div id="primary" class="content-area">
  19. <div id="content" class="site-content" role="main">
  20.  
  21. <?php if ( have_posts() ) : ?>
  22.  
  23. <?php /* Start the Loop */ ?>
  24. <?php while ( have_posts() ) : the_post(); ?>
  25.  
  26. <?php get_template_part( 'content', get_post_format() ); ?>
  27.  
  28. <?php endwhile; ?>
  29.  
  30. <?php vantage_content_nav( 'nav-below' ); ?>
  31.  
  32. <?php else : ?>
  33.  
  34. <?php get_template_part( 'no-results', 'index' ); ?>
  35.  
  36. <?php endif; ?>
  37.  
  38. </div><!-- #content .site-content -->
  39. </div><!-- #primary .content-area -->
  40.  
  41. <?php get_sidebar(); ?>
  42.  
  43. <?php get_footer(); ?>


Ten post edytował edekodkredek 2.10.2013, 17:18:26
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 18.09.2025 - 13:50