Home › Forum › Customization › Homepage customizations
This topic contains 6 replies, has 2 voices, and was last updated by StartupWP 6 years ago.
- AuthorPosts
- March 5, 2013 at 3:31 PM #535
Hello,
I’m trying to do the following using the pro version:
1. Hide the site title on all pages including the homepage. Inserting this in the custom css area only removed it from the homepage:
body{margin:0 0 4%}
#branding, #social .details{margin-bottom:0}
nav{margin-top:0}
2. Is it possible to remove all white space above the nav bar, between the nav bar and the slider, and between the slider and the first post (including the radial buttons that’s part of the slider under the NivoSlider default theme)?
3. How do I make the homepage right sidebar not show up on some of the other pages? I want to setup a different sidebar for some pages.
Thank you!
March 5, 2013 at 3:32 PM #536Sorry, one more item…
4. How do I remove the hyperlink from the blog post titles?
Thank you.
March 5, 2013 at 3:37 PM #5371. Use:
#site-title{display:none}
2. Use:
header {
padding-bottom: 0;
}
nav {
margin-top: 0;
}
#slider {
margin-bottom: 0;
}3. You’ll need to let us know the specifics, also you might want to checkout this plugin:
March 5, 2013 at 4:06 PM #540Thank you for the codes! For #2, the space between the slider and the first post is still there. I suspect it is because of the slider so I changed the theme in NivoSlider to none, but now I still have the space and instead of the radial buttons, I have slide numbers there (in my case I have two images so the numbers 1 and 2 appear). I also have the words “next” and “prev” at the right and left of the images in the slider.
Is it also possible to remove hyperlinks from post titles?
Thank you!!
March 6, 2013 at 9:15 AM #5442. Can we get the link to your website please.
4. This is a WordPress theme standard. If you’d like to setup a child theme to hack and change the code we can walk you through this. Or we can help you to style them differently if that’s the issue?
March 6, 2013 at 11:52 AM #548Hello again,
Thanks for all this support! It is truly appreciated. I am working offline on localhost so I’m not sure how I could send you a link to the site for you to see. (Again, I’m new so if you know of another way, I’d be glad to try it.) I could send you a screen shot if that helps, but I’m guessing you want to see the codes on the page. I can live with just using the Novoslider’s default theme for now showing the radial buttons.
I do have a bigger problem and that is my logo isn’t showing at the top of the homepage only. All other pages do show the logo at the top. Here’s all of the css custom codes I have in the startup pro options area:
#slider{display:none}
.home #slider{display:block}
header {
padding-bottom: 0;
}
nav {
margin-top: 0;
}
#slider {
margin-bottom: 0;
}
I’ve tried refreshing, updating every page by page, etc., but nothing. I had at one point in the custom css area #site-title{display:none}but a decision change meant we had to reinstate the logo. Could that code have triggered a change elsewhere that I have to go in and alter it back?
4. This is a WordPress theme standard. If you’d like to setup a child theme to hack and change the code we can walk you through this. Or we can help you to style them differently if that’s the issue?
Yes, I need to setup a child theme to change this standard function in WordPress. I found the documentations for it at http://op111.net/53/ and http://codex.wordpress.org/Child_Themes
Should I go ahead and use these?
Thank you!
March 6, 2013 at 5:31 PM #550#slider{display:none}
.home #slider{display:block}We can use that same trick for the logo:
#site-title{display:none}
.home #site-title{display:block}2. Once you have hosting and a domain in place you’ll need to do live testing before going public anyways, at that time we can have a look.
4. Should be pretty simple with a few steps:
– Setup a child theme: https://startupwp.com/topic/child-theming/
– Copy over entry.php to the child theme
– Change line 2:<?php if ( is_singular() ) {echo '<h1 class="entry-title">';} else {echo '<h2 class="entry-title">';} ?><a href="<?php the_permalink(); ?>" title="<?php printf( __('Read %s', 'startup'), the_title_attribute('echo=0') ); ?>" rel="bookmark"><?php the_title(); ?></a><?php if ( is_singular() ) {echo '</h1>';} else {echo '</h2>';} ?>
to:
<?php if ( is_singular() ) {echo '<h1 class="entry-title">';} else {echo '<h2 class="entry-title">';} ?><?php the_title(); ?><?php if ( is_singular() ) {echo '</h1>';} else {echo '</h2>';} ?>
- AuthorPosts
You must be logged in to reply to this topic.