Forum Replies Created
- AuthorPosts
You’re welcome.
`.single-post .entry-content .attachment-post-thumbnail{display:none}`
Email sent.
All looks good. May we email you directly to get the login details and have a look at your live setup?
Let’s do this, share exactly what you have in your child theme stylesheet in a reply. It may be easier to use http://pastebin.com/.
Otherwise, we’ll be here if you need more help after working on it some more.
Add the following CSS and only the images you specifically set as the featured images will appear on the blog page:
`.blog .entry-content img{display:none}
.blog .entry-content .attachment-post-thumbnail{display:inline}`Thank you, the issue is very clear. Can we get a link to the website in question to see if we can investigate further?
Likely an issue of Summary vs Full Content under Settings > Reading.
Just tested and it works fine. Not a container issue, it will reside safely and symmetrically in the #wrapper div.
Possibly an issue with the implementation of the child theme?
Try this method instead:
<?php if (is_home()) { ?>
WHATEVER YOU WANT HERE
<?php } ?>Quick tip, before trying it with the video code, just try plain text “abc” or “123” for example just to make sure that it appears.
If it does, but then the video code doesn’t work you’ll have pinpointed that something is wrong with the video embed code. It is also recommend to use the full URL paths instead of relative ones as you’re using when it comes to WordPress.
If you’re still having issues with your video code, a great error checking tool for HTML can be found here:
Leave the code active and provide the link to your website please and we’ll have a look.
Wonderful to hear.
You’re welcome.
Update to:
<table width="788" height="422" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
<tr border="0" class="top">
<td><img src="http://www.robertagavioli.it/wp-content/uploads/2013/04/header.png" alt="" width="788" height="231" /></td>
</tr>
<tr border="0" class="middle">
<td>< HERE I HAVE INSERTED WHAT DID YOU SEE THERE , form…ecc></td>
</tr>
<tr border="0" class="bottom">
<td><img src="http://www.robertagavioli.it/wp-content/uploads/2013/04/footer.png" alt="" width="788" height="98" /></td>
</tr>
</table>You’ll need to setup a child theme:
https://startupwp.com/topic/child-theming/
And copy over header.php from the main theme.
Find this line:
<?php if ( $options['slider'] ){ echo '<div id="slider">'.do_shortcode('[nivoslider slug="slider"]').'</div>'; } ?>
And replace with:
<?php if ( is_home() ) {echo 'YOUR VIDEO CODE HERE';} ?>
Strange, even trying a CSS reset on it didn’t seem to work.
Try giving the top tr a class of top and add the following CSS:
.top {
background: url(http://www.robertagavioli.it/wp-content/uploads/2013/04/mid_bg.png) no-repeat scroll center bottom transparent;
}Give that middle tr a class of say middle.
So the tr that wraps the area starting with “Come andare…“, give it the class like so:
<tr class="middle">
Now, we can add the following CSS:
.middle {
background: url(http://www.robertagavioli.it/i-5-segreti/images/mid_bg.png) repeat-y scroll 0 0 transparent;
}https://startupwp.com/topic/customizing-your-theme/
Will likely require a bit more tweaking, we’ll be here to help.
That’s correct, it’s completely blank like a painter’s canvas for you to add whatever you want, and only what you want.
For example, a YouTube video, some text, a “Call to Action” button. You’ll find that the WP editor lets you add all sorts of content. You can also utilize some of the built-in shortcodes:
https://startupwp.com/demo/shortcodes/
The sky is the limit. What specifically did you have in mind?
Checkout a plugin like:
http://wordpress.org/extend/plugins/custom-excerpts/
For more control, once you’ve got it about setup how you like give us the link to your site and we can help customize further with CSS.
It’s no different than setting the template in pages. It may seem tedious now if you have a lot of posts, but easy in the future when preparing new posts. We’ll definitely be looking into a global option in the future as well.
Now, for the homepage:
1. Setup a child theme:
https://startupwp.com/topic/child-theming/
2. Copy index.php over from the parent theme to the child theme.
3. Find this line and remove it:
<?php get_sidebar(); ?>
and then add this code, right below <?php get_header(); ?>:
<div id="lsidebar-sidebar">
<?php if ( is_active_sidebar("lsidebar-widget-area") ) : ?>
<div id="lsidebar" class="widget-area">
<ul class="sid">
<?php dynamic_sidebar("lsidebar-widget-area"); ?>
</ul>
<div class="clear"></div>
</div>
<?php endif; ?>
</div>4. Add to your CSS:
#lsidebar-sidebar {
margin: 0 0 0 2%;
width: 30%;
}https://startupwp.com/topic/customizing-your-theme/
Please note that the homepage sidebar content will now be controlled by the Left Sidebar area under Appearance > Widgets.
The Easy Way
Now that the process had been explained, you can simply download, install and activate the child theme we’ve prepared for you like any normal theme under Appearance > Themes to apply the customizations:
Okay, we’ve just updated the theme to now include custom post templates:
https://startupwp.com/topic/changelog/
This means you can now change the sidebar layout for posts just like you can pages.
Now, for the homepage, are you using it as the posts page or a static content page? If you’re not sure, please provide the link to your website and we’ll be able to tell.
It does support a two sidebars right page template.
But, making literally every webpage of your site have two sidebars is an entirely different thing, though still possible with customization.
Let us know.
You’re welcome.
Aah, quick update. The wording is now Text.
So when editing a page or post you’re probably going to be in Visual mode by default. Look top-right just above the editor textarea and you’ll see the button to switch to Text mode, which is essentially the HTML editor mode.
The theme will be getting an overall code quality audit soon for all code, in all files. Look for improvements over the next couple of updates.
Thanks
We recommend this plugin:
http://wordpress.org/extend/plugins/open-in-new-window-plugin/
See some of our other recommendations here:
No problem. Refund issued.
- AuthorPosts