erwin_m
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Horizontal submenu to Twenty tenCan I do this by adding sb (short for sub) to each class and ID?
Forum: Themes and Templates
In reply to: Horizontal submenu to Twenty tenOk, so I created a child theme, but….I also created multiple header.php so I could create a total different homepage. Does this still work as I point in the header.php’s to different style sheets?
And for the rest of your reaction, you are going a bit to fast for my knowledge. Must I copy the total menustructure and change the classes? And repeat this in style.css?
Forum: Themes and Templates
In reply to: Trying to make a horizontal sub-menu with TwentyTen child themeThis is exactly what I’m looking for, a horizontal submenu for twenty ten. I’ve been wrestling with the code for hours now, without any result. I don’t get it horizontal.
Am I asking to much when I’m asking for the html/css code?
By the way, it looks very nice on your testsite.Forum: Plugins
In reply to: which order list or ecommerce solutionOk, thanks. I will look into it.
Forum: Themes and Templates
In reply to: Wrapper is shorter than contentYou’re the best, it’s working.
Can you explain me why this is working? I’m working a lot with css, but haven’t a clue what’s the difference for in this case. Off course I know the difference about the use off the arguments, I only don’t see it in this case.
Forum: Fixing WordPress
In reply to: number of articles different per categoryOk it looks that I can find a solution on that page. The only thing is, I don’t know wordpress/php so well.
I succeed in displaying more articles in my category, only the default category won’t display anymore. So proberly I’m doing something wrong.
I’ve put my code beneath, is there someone who could help me out?
<div id="content1"> <?php query_posts( array ( 'category_name' => 'Seminars', 'posts_per_page' => -1 ) ); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post1"> <div class="post-date"><span class="post-month"><?php the_time('M') ?></span> <span class="post-day"><?php the_time('j') ?></span></div> <div class="post-title"> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> <span class="post-comments"><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></span> </div> <div class="entry"> <?php the_content('<p>Lees verder »</p>'); ?> </div>
Forum: Themes and Templates
In reply to: rss to twenty ten with rollover imageThank you for wanting to help, I’ve just figured it out five minutes ago. I think it was also to late when I tried to fix this yesterday. It just was a stupid misstake, I’m hosting the site on another site’s hosting. Well, than you have to change the url also….
Forum: Themes and Templates
In reply to: rss to twenty ten with rollover imageThanks Esmi for the warning. I ‘ve already read the tip about it. So I’ve copied the theme and given it another name.
Forum: Fixing WordPress
In reply to: list of all posts on pageResolved by using pages instead of posts.
Forum: Themes and Templates
In reply to: Multiple header.php gives double bannerHi govpatel, thank you for your time. I’ve changed the layout so that it isn’t a problem anymore. So I can go on with the site. I have to publish at monday, so I didn’t have much time to search for a solution. Thanks anyway.
Forum: Themes and Templates
In reply to: Multiple header.php gives double bannerok, the url is https://www.jac quelinelam merts.nl/wp/
Please remove the spaces.
Thanks.Forum: Fixing WordPress
In reply to: Trying to change div-background dynamically with classesalchymyth, your the best! It works. And of course I’m not forgetting adeptris, he’s also putted in a lot of thinking. I will thank you for that!
Forum: Fixing WordPress
In reply to: Trying to change div-background dynamically with classesOk, it all makes sense, the image is present right now. But, I don’t know where extra ” comes from.
I’ve added my code, would you please take a look? I don’t see it.<?php $class = ''; if (is_page('Home')) { $class = 'home1'; } elseif (is_page('Counseling')) { $class = 'counseling'; } elseif (is_page('Coaching')) { $class = 'coaching'; } elseif (is_page('Re?ntegratieondersteuning')) { $class = 'reintegratieondersteuning'; } elseif (is_page('Verzuimondersteuning')) { $class = 'verzuimondersteuning'; } elseif (is_page('Werkwijze')) { $class = 'werkwijze'; } elseif (is_page('Cli?nten aan het woord')) { $class = 'clienten'; } elseif (is_page('Het team')) { $class = 'team'; } elseif (is_page('Contact')) { $class = 'contact'; } elseif (is_page('Praktijkinformatie')) { $class = 'praktijkinformatie'; } ?> <div id="header"<?php if($class) echo ' class=' . $class . '"'; ?>> <ul> <li class="home"<?php if (is_page("Home")) { echo " id=\"current\""; }?>> <a href="https://www.yoursite.nl/wp/">HOME</a> </li> <li class="menu"<?php if (is_category('Weblog') || in_category('1') && !is_single()) { echo " id=\"current\""; }?>> <a href="https://www.yoursite.nl/wp/?cat=1">WEBLOG</a> </li>
The last bit is for current pages, I thought lets add it, so it isn’t confusing.
Forum: Fixing WordPress
In reply to: Trying to change div-background dynamically with classesOk, thanks all for watching with/for me. The space which was mentioned, I was palying with it, trying out. It didn’t make any difference.
I’ve removed the / , this didn’t help either. Also I’ve put in the complete url, which also didn’t help.
You can see the site at: https://www.jac quelinelam merts.nl/wp/
The banner with the flower should change between weblog and home, other menu-items are not coded in completely. Weblog is without any class and is default, the other pages have classes added which should put in another background.Please remove the spaces. This forum is so good, that it sometimes appears as first hit with a searchstring ;).
Forum: Fixing WordPress
In reply to: Trying to change div-background dynamically with classesThe problem is the css. The class is in the source.
The validator gives me:
#header Parse Error header. home1 { background-image: url(/img/header_visual/7.jpg); }
What is the problem with this?