Sidebar to bottom of page
-
We have at least 25 Mantra themes working with the Slick Slide show on the home page. All work great except one. If the slide show plugin is activated all the right sidebar (only one) stuff goes to the bottom. Deactivate the slide show and the whole right sidebar goes back in place. I copied an entire home page from a performing Mantra website and made it the home page of the problem website and the same thing happens. Where to look?
-
what is the URL of the site?
i just looked and all i see is the shortcode for the slider. did you disable or delete your plugin?
Yes, what you looked at is with the plugin deactivated. I’ll activate it so that you can see how it looks screwed up with the plugin in place and the sidebar at the bottom.
based on what i am seeing, my initial guess is that there is a missing closing tag somewhere in your code, or maybe an extra closing tag. on all other pages the sidebar is outside of your content div. on the homepage (at least when the slideshow is active) the sidebar is inside the content div. Check the code on your homepage, if there is a div missing it may be that the browser is rendering the sidebar in the wrong space.
I’ll do a line by line investigation. But, using your suggestion, what I can’t understand is when I create a new page using an exact copy and paste from a static page of a working website, and then making that page the static page of the subject website, it screws up the newest static page too. I’m going to deactivate the plugin now so at least the page looks presentable, then do my line by line looksie. Let you know when I complete that.
it is quite possible that there are styles in your css that may be different on each site.
Good thought. I will start there first. That has to be it. Let you know. Right now I’m on my way to celebrate Mardi Gras, a big deal in Louisiana.
I’m striking out on both accounts. If you had to look at the CCS sheet, where would your first guess be to look?
there is a built in editor in wordpress that will allow you to see the main ‘style.css’ file.
out of curiosity, what is the URL to the site that is working properly?
Yes, I printed out the entire CCS file of the Louisiana website, https://conservativepartyla.org and then started comparing it to the conservativepartypa.org CCS file. But, frankly I got lost.
Another website is our national website at https://conservativepartyusa.org. Mantra is also used successfully on about 25 other website (perhaps more), all using the same home page concept with the slide show. Someday it will be on all 50 states.
just based on a quick look at the site that is working properly it is what i said before. the sidebar is inside of the content section. this is preventing it from going to the side. Without seeing your code that you pasted it would be hard for me to say why that is happening.
is there any way you could use pastebin to share the code you have been pasting into the sites that are not working?
Sure, I don’t mind. In fact, thanks for the help. What follows is the home page of the problem website.
<h2 style=”text-align: center;”>Conservative Party (Pennsylvania)</h2>
[slick_slideshow]
The Conservative Party will rectify the consistent failures and corruption of the current two-party system. The Conservative Party will impose fiscal discipline, restrain the reach of the federal government as outlined in the Constitution and defend America’s traditional family values.
<table style=”border: 1px solid #FFf;”>
<tbody>
<tr>
<td style=”vertical-align: top; width: 50%; border: 1px solid #FFf; font-size: 12px;”>Breaking News
[display-posts category=”news” posts_per_page=”1″ include_excerpt=”true” wrapper=”div”]</td>
<td style=”vertical-align: top; width: 50%; border: 1px solid #FFf; font-size: 12px;”><img style=”float: left; padding-right: 10px;” src=”https://www.conservativepartyusa.org/home/wp-content/uploads/2012/03/cm.jpg” alt=”Conservative Party USA: Conservative Crew” border=”0″ />On The Campaign Trail
[display-posts category=”conservativecrew” posts_per_page=”1″ include_excerpt=”true” wrapper=”div”]</td>
</tr>
</tbody>
</table>
<table border=”0″ width=”475″ cellspacing=”2″ cellpadding=”0″>
<tbody>
<tr>
<td width=”100%”><span style=”color: #0000ff;”>WELCOME TO THE PENNSYLVANIA CONSERVATIVE PARTY</span></td>
</tr>
</tbody>
</table>
<table border=”0″ width=”640″ cellspacing=”2″ cellpadding=”0″>
<tbody>
<tr>
<td valign=”TOP” width=”100%”>It’s time to “Come Home America” and our home is Pennsylvania..
The time has come for true Conservatives and like-minded Independents to secede from their respective parties and join the Conservative Party of the United States.The present political establishment in Washington has consistently failed to hold to the principles of our Founding Fathers and can no longer be considered a legitimate representative of traditional American conservative values. This failure is the result of what has become a politically incestuous society dominated by the two major political parties, staff, and those who lobby.</P><p>The Mission of the Conservative Party is to promote and protect individual rights and freedoms set forth in the U.S. Constitution and to limit the scope of Federal government authority and spending. We believe that the only way to achieve success in our mission is to return political activity to the local scene. The Conservative Party has established this action plan in “Project Mayberry?.”Project Mayberry? was inspired by the erstwhile “Andy Griffith Show” about the sheriff of a small town called Mayberry. The people in that small town held traditional, patriotic, common sense values seldom seen in today’s America.Project Mayberry? will restore that ethic.Project Mayberry? is a coordinated, national effort to break the Democrat-Republican elite stranglehold on Lady Liberty by uniting America’s diverse, conservative, traditional family-value Patriots at the local level. This project will foster the political environment that will encourage its members to run for elected office in their Localities.Project Mayberry is the Conservative Party’s appeal to return politics to the local level.<P><p> Today’s media, too often liberal and progressive, advance candidates and the face-to-face local citizen recommendations needed to assess candidates is removed.It’s high time for “us,” Pennsylvania citizens, to offer our political guide to conservative candidates.Finally, be a volunteer. And support helping grow the Conservative Party of Pennsylvania with a small financial contribution. It costs about $20 for a couple to attend a movie. Surely Pennsylvania and America’s future is worth two movie tickets. But, don’t stop there, if $5.00 is best you can do, that is fine with us.<img class=”aligncenter size-full wp-image-711″ src=”https://www.conservativepartyla.org/wp-content/uploads/appealbtn2sm.png” alt=”appealbtn2sm” width=”220″ height=”52″ /></td>
</tr>
</tbody>
</table>i dont think your code pasted correctly. and i think its against forum rules to post that much code into a thread. you should use pastepin. i gave a link in my last post. try using that.
how are you putting that on your site? in the text editor? the visual editor? are you switching back and forth?
Frankly, I haven’t used this approach often. I’ll remember that rule in the future and follow it. Right now I have no idea what pastepin is. I’ll look it up. On your question, I paste in the “text” view of the page editor.
- The topic ‘Sidebar to bottom of page’ is closed to new replies.