BrenFM
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Background Image Sizing.Talkin about the Whitespace?
Total width 940px
left col (#content-container) is 630px
right col (#sidebar) is 310pxIf you use Chrome as a browser, you can inspect element by right clicking any part of the screen and following your nose. In the Element Inspector’s right pane is a collapsed box saying “computed style”, this will tell you what dimensions elements are that don’t have dimensions specifically defined.
Forum: Themes and Templates
In reply to: Why is the Posts Page the parent of a Category Link?Win! Glad I could help!
ok try changing the .entry-title styling to include
display: none
as I suggested above.You’ll actually need titles in there though!!
Muahaha sorry – should have read the subscript below your name there!! Nothing like an amateur trying to school a master ??
Site tile is NOT the same as page title. That’s a whole different style declaration.
You need to update the .entry-title styling and include
display: none;
It’s probably a REALLY good idea to learn a thing or two about css before you start mucking around with someone else’s themes though.
@esmi: Pilcrow is a theme available from the WordPress theme repository. I just went to a blog I run, went to Install Themes, searched for Pilcrow and previewed the theme to find this. (Not being picky, just trying to help you help others!)
Hope this helps!
Forum: Themes and Templates
In reply to: Why is the Posts Page the parent of a Category Link?These are both blog pages so it stands to reason the blog page is highlighted as the parent. Nav menus generated by wp_list_pages markup current page, parent page and ancestor pages with the following classes:
.current_page_item .current_page_parent .current_page_ancestor
Logically – it’s best to keep this active page styling. However, if you really need to change it: best way to alter this is to add the body_class function to your body tag as such (if it’s not already in there):
<body <?php body_class(); ?>>
That way your category page will end up with a class of category
Next you need to add a style declaration to your stylesheet for:
.category .current_page_parent
One that will undo what your current .current_page_parent styling does.
Hope that helps!
Forum: Themes and Templates
In reply to: Excluding pages by template in wp_list_pagesAs an example, see: https://www.ths.school.nz/international/student-views/
No troublems at all!
Ermmmm not sure what you mean by this? If you mean the site title in the Pilcrow theme then easiest way is to add display: none to your stylesheet in the #site-title as such:
#site-title { text-align: right; display: none; }
Forum: Themes and Templates
In reply to: Blog home page is not displaying correctlyMagic! glad I could help!
Forum: Themes and Templates
In reply to: Blog home page is not displaying correctlyAh yes… can see that on the single posts now – thought that might have been causing it. Either way, it’s pretty poor form to have any sort of markup outside of the HTML tags (besides the doctype declaration).
Seeing as you haven’t changed your theme at all, I’m guessing it’s something in one of your posts. Have you tried unpublishing the latest couple of posts? This would help you find the problematic one. There may be some tags inside that content that are causing the issue. I know that I’ve seen this sorta thing happen when our clients include comment tags and such like in their posts.
Forum: Themes and Templates
In reply to: Blog home page is not displaying correctlyHaven’t looked too closely, roomfor5, but you appear to have a big old bunch of stuff in a table before the HTML tag…
Forum: Plugins
In reply to: [Custom Field Template] [Plugin: Custom Field Template] Chained Select BoxHi Pauro!
I can’t think of an easy way to do this without getting carried away with some serious Javascript work – could definitely be done with jQuery (seeing as that’s the library the admin panel uses anyways), but I don’t really have the time to look into this one for you, sorry!
Forum: Plugins
In reply to: [Custom Field Template] [Plugin: Custom Field Template] Dynamic select listahhhhh of course… IN! much easier to use in… especially if planning to expand your selection of parent pages. And I would think quicker (marginally) from an SQL point of view.
Forum: Plugins
In reply to: [Custom Field Template] [Plugin: Custom Field Template] Dynamic select listThis is straight SQL, so what you’ll probably need to do the following (untested sorry, but worth a shot!):
and (post_parent = '60' OR post_parent = '100')
or maybe:
and ((post_parent = '60') OR (post_parent = '100'))
One of them should work, I would hope!
You could then order them by
order by post_parent,post_title
…if you wanted them sorted by the parent page first.
Hope that helps!