Mariku
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 2010: Background image that fills screen width – HOW?Thanks for the link cubecolour, I’m surprised it’s such a big task.
I have scrapped that idea since though, not enough time in the day.
Cheers,
Matt
Hi again,
just thought I’d let you all know that at least in Twenty Eleven, the following two solutions can work well, depending on what exactly you want to do.
This:
.page #content .entry-title {
display:none;
}or this:
.page .entry-title {
display:none;
}On a side note, I’m a bit surprised, to say the least, that my question got no responses at all, and am at a total loss as to why that is. Not sure how often answers are actually found in these forums, but will keep trying… although it does make me feel like I’m talking to myself here, and I’m probably not going to continue that for very long. Disappointing.
Cheers,
Matt
It is absolutely impossible that I should be so advanced in WordPress that no one out there knows the answer to my question.
Is this such a difficult question? I can’t imagine that!
Please, if you know the solution, I would really appreciate your help.
Thanks!
Matt
Ideally, I would prefer a CSS solution for this.
Matt
I also found someone’s recommendation in an older thread here that says:
When you create a page, in the custom fields section. Name…add “hide_title” (no quotes). Value…”true” (no quotes) Do this for every page you don’t want the title to show on.
This seems like a very lean solution – but I tried this, and it did not work.
Does this solution refer to the title of the web page, or the title of each page? How can I make this one work? Seems preferable over messing with loop-page.php.
THANKS!
Matt
Ok, so I’m getting a bit closer, but still have open questions:
If in the loop-page.php of the TwentyTen theme, from this:
<div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php if ( is_front_page() ) { ?>
<h2 class=”entry-title”><?php the_title(); ?></h2>
<?php } else { ?>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<?php } ?>I delete these two lines:
<h2 class=”entry-title”><?php the_title(); ?></h2>
<h1 class=”entry-title”><?php the_title(); ?></h1>the page title does not get displayed anymore on my pages – progress!
That leaves two questions:
1. The page title is not displayed, but the text starts with quite a large gap between above the text of the page and below the menus. How can I lessen that space?
2. How can I implement the whole modification without modifying anything within the TwentyTen theme? How exactly do I do that in my child theme? So far, I only have a child theme css, and things I do in there work very well, as they should. How do I add the above php changes to my child theme, so that future upgrades of WordPress will not affect it?
T H A N K S ! ! !
Matt
Forum: Hacks
In reply to: How stop repeat of menu in page content, update-proof?No, what I actually want to do is NOT have the title (as per the database) displayed in the page itself, but add a bold line in the text of the page with a slightly different “title” which will then be perceived as the page title by the viewer.
To be honest, so far my skills with child themes only go as far as the CSS is concerned, which I’m quite happy with mostly, but seemingly that isn’t enough to switch off the repeat of the page title within the text of the page.
Matt
Forum: Themes and Templates
In reply to: Close menu-content gap; stop repeat of menu in page content…anyone?
Matt
Forum: Themes and Templates
In reply to: Close menu-content gap; stop repeat of menu in page content…sorry clarification: Of course the suggested solution deals with the php, but the issue remains the same. How can I do that without having to redo it after every update?
I REALLY feel like I’m overlooking something obvious, but I can’t work out what it is.
THANKS!
Matt
Forum: Themes and Templates
In reply to: Close menu-content gap; stop repeat of menu in page contentHi again,
err, this may well be a silly question, but I seem to have a brain block right now:
What would be the best solution to question 2 in my original post that does NOT involve deleting or doing anything in the actual theme’s css as suggested (which works, but needs to be redone after every wordpress update)?
Basically, I want to achieve the same thing, but exclusively by working with my child theme.
THANKS!
Matt
Forum: Themes and Templates
In reply to: Close menu-content gap; stop repeat of menu in page contentHi, thanks for your help!
The repeat of the page title in the content is gone now, no problems.
Re the large gap: Setting the padding to 0px makes the gap smaller, but it is still quite large.
Could that be the bottom padding of the menu or header picture? Or is there still some space left that is “reserved” for the repeat of the title that I just removed with the removal of the <h1… line?
If it is any of these, where can I find the corresponding code?
If it is something else, what?
THANKS AGAIN!
Matt