Seldovia on "Fullwidth Slider Larger then sites container"

ساخت وبلاگ

Hello!

This is something I have been fiddling with but seem not to be able to fix. My sites container is currently 1120px wide which is the width of my post slider. I want my slider to reach full screen (is that the right term?) like the one on this site. Do I need to create a new container in the php for the slider to override the site container? If so, how do I do that? Or, am I just missing a small piece of css?

Click here to see my site :)

firdaus666
Member
Posted 4 days ago #

Do you want like this picture?

Picture

Hi,

Yes exactly! Thank you for taking the time to make an example, was I using the right term?

You need to put template tag of the slider in theme's PHP file before the content area container. You can make changes in header.php and add template tag below the menu code. There you can also put condition to let it appear on front page only. Cosmo Slider WordPress plugin comes with template tag and is a full width slider. You can find many other sliders with such feature.

I hope it answers your question.

firdaus666
Member
Posted 2 days ago #

put a slider after the header, before the container.

Could you explain how to do that in steps...I am not afraid to do some php reorganizing. I just need some more detail.

So this is my php code for my slider

<header id="header"<?php if(!get_theme_mod('fcs_featured_slider')) : ?>class="noslider"<?php endif; ?>>

and when I put it after the header and before the container it is still behaving the same. Am I missing a step?

firdaus666
Member
Posted 2 days ago #

You must add code slider in the file index.php

If only I could know more clearly, wordpress theme are you using?

or I could figure out the code in the file index.php

is that you should try!

slider should be placed after the

<?php get_header();?>
in index.php before the

<div id="main" class="fullwidth">

like this:

<?php get_header();?>
place the slider code here
<div id="main" class="fullwidth">

maybe you could try.

Good luck.

Seldovia
Member
Posted 11 minutes ago #

I tried your suggestions and they aren't working and I think it is because I do not have a full width class.

I am using the findcools theme if that is helpful.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 275 تاريخ : دوشنبه 14 تير 1395 ساعت: 10:41