Click here to register or to donate.Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

[SOLVED] Unwanted style difference in singel post and that same post on single displa

#1

Sep 15, 2009, 04:54 PM

Sakshin

66 posts · Aug 2009

Amsterdam, Netherlands

Hello Atahualp friends.

I have this strange thing going on. I have posts, of course, and they look nice. But the same post is also imported on a single page and there it looks really different. I would like it to be the same.

Can anybody shed some light on where this difference comes from and how do I get the to look the same?

<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] == 1; /* Postcount needed for option "1 first posts full posts" */ ?>

</div>

Anybody???

#2

Sep 15, 2009, 05:27 PM

juggledad

23,667 posts · Mar 2009

OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome

What version of Atahualpa, WP and PHP?
there must be some more code you are using. On the 'single post page' I'm seeing a reference to <div class="txtbox"> while the 'single page' shows <div class="txtboxvip">

I also notice that the 'Previous VIPs' is in a sidebar on the 'single post page', but part of the main column in the 'single page'

The textbox div is a div I made into the normal index file. . The other div-vip is an div which I made into a template file.

Do I need to get the css for the plain atahualpa index (main column?) and glue it into the style for the template, Div? And if so, do I find it in the css.php? Under what name?

I really got creative here to get this effect of only showing images as excerpts, without javascript. That's why you'll see it on the single page as a widget and on the other page as a div in the main frame. Lol.

And thanx for your quick reply, I start lovin Atahualpa more and more.

#4

Sep 16, 2009, 12:23 PM

juggledad

23,667 posts · Mar 2009

OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome

What images without excerpts are you talking about?

And If I can ask, what are you trying to do? maybe there is a way to do it, within Atahualpa/WP so you can just use the Atahualpa css

Yes Juggledad.
I changed the css.php from atahualpa and added the div to it. now the post on the static single page looks the same as the single post. Great.

About the images, i posted some questions about how to make create thumbnail images from the excerts into sidebar so when you click on them the show you the according post. It seemed that this was a javascript thing and your partner or anybody on this forum had time or knowledge how to do this.

So, after some mindboggling days I found this widget which accepts php code and I found some code on the web how to let the thumbnail appear. And it works. Although maybe not the neatest solution, it works, and I'm happy.