I have a valid installation of this theme, but it just didn't cut it. So I have been working with an alternative theme. However, I miss the above described feature and would like it reintroduced using the alternative theme.
I expect I will need to make a modification to a php file, so that the theme automatically inserts this divider between each news article automatically, along with inserting
Without checking these links, I question the need for a PHP modification. CSS is very powerful; presuming that there is a logical division between each posting HTML wise, there is no reason why CSS cannot be used alone to change the rendering of these. Adding a class to the html will make it easier of course.
So in other words, I would suggest that this isn't a PHP issue, rather an HTML/CSS one. Is there anything in particular that I may be missing that indicates that this could be a PHP issue?
Thank you very much for your reply. The reason I could see the need to make a modification to the PHP was because there was not an existing element I could refer the CSS to in order to place the divider in the right place as far as my experimenting showed.
The news page has no HTML as such, it is all created by wordpress and I couldn't see a way of inserting it because each article showing is part of an autogenerated list, as opposed to a static page which would otherwise make it possible.
Can you see a way?
Last edited by ShaunHill; 02-19-2013 at 06:34 PM..
Looks to me that you have several options available for class markup: post-{#'s} post type-post status-publish format-standard hentry category-news. Not sure if there's a particular one you're interested in, but I'd probably apply to category-news class.
This really messes up the page, any idea how to sort it out?
Kill those highlighted lines. They are setting all of your category sections to 1px height and all of your contents to 1px font size. Frankly, you probably don't need the display:block; or width:100%; settings, either (haven't checked), but they at least aren't hurting anything.
Thank you for your replies. It's better, but the problem is that it displays at the top and bottom of posts, rather than between each post like a standard divider would do.
Looking through the code using Firebug the options I have experimented with have not worked out as I have specified. I think this is why the thread was originally under PHP. I can't see a way of working this into the theme without editing/adding code to the PHP, but maybe one of you clever people can?
Thank you for your replies. It's better, but the problem is that it displays at the top and bottom of posts, rather than between each post like a standard divider would do.
How can this be achieved?
Quote:
Originally Posted by ShaunHill
Looking through the code using Firebug the options I have experimented with have not worked out as I have specified. I think this is why the thread was originally under PHP. I can't see a way of working this into the theme without editing/adding code to the PHP, but maybe one of you clever people can?
You have a top border and a bottom border both specified in your CSS. Logically, how would you expect this to display? How might you reduce the number of borders seen from 2 to 1?