Forum Replies Created
-
AuthorPosts
-
buddy_boy8403Participant
What pages do you want the footer removed on? Nick The Geek has a great tutorial on conditional tags here. The conditional you are going to want to add to your footer logic in your functions.php file is:
if
(!is_page()) { ?>
And then specify the page within the logic.
buddy_boy8403Participant@fskhan619 - The code I gave to modify your functions.php file does this. Thats what the following conditional does in that snippet:
if (is_single() )
Just copy/paste that to the bottom of your functions.php file, update the styling in your style.css file and modify the styling to suite your needs.
Once you create the new widget area, just go to your Appearance > Widgets page, drag a text widget in there and paste the adsense code. After that, you should be good to go.
buddy_boy8403ParticipantI think the code you pasted broke.
I fixed it - thanks.
buddy_boy8403ParticipantI did this for a client. What I did was create a new sidebar area (Nick The Geek has a good tutorial on how to do this on his website). You need to reference the appropriate genesis hook in the sidebar code - StudioPress has a hook reference to help you out with this.
You can try this and see if this is what you need. Just add the code to your child theme's functions.php file and the styling to your child theme's style.css file:
/** Start Add Sidebar After Content */
// First we have to register the new sidebar
genesis_register_sidebar( array(
'id' => 'after-content-ad',
'name' => 'Bottom Of Page Ad Area',
'description' => 'This is a sidebar that goes after the content.',
) );
// Next we have to display the sidebar
add_action( 'genesis_after_content_sidebar_wrap', 'child_after_content_ad_sidebar' );
/** Loads a new sidebar after the content */
function child_after_content_ad_sidebar() {
// Now we add the conditional to show this everywhere except the home page by putting an ! in front of is_home()
// For more info about conditional tags, see: http://designsbynickthegeek.com/tutorials/conditional-page-content
if (is_single() ) {
echo '';
dynamic_sidebar( 'after-content-ad' );
echo '';
}
}
// Finally we need to style the sidebar in the child theme's style.css file
/** End Add Sidebar After Content */Now for the CSS styling
/* Ad Sidebar
------------------------------------------------------------ */
.after-content-ad {
clear: both;
margin: 0 auto;
width: 728px;
}buddy_boy8403ParticipantIt's been 5 days since I made the updates to get the Google+ profile pic to show, and though it is working in the rich snippet tool, it still hasn't showed up in any Google search results. I know I need to wait a little bit for Google to reindex my pages and the Google+ profile, but shouldn't some of the pages be reindexed by now? How long does it normally take to get the image to show up in the search results? Do I have this set up right or did I do something wrong that I need to change in order to get this to show up?
buddy_boy8403ParticipantWhat is the link to your site?
buddy_boy8403ParticipantI'm not exactly sure what you are asking for, but does making changes in bold below to the .flex-caption on line 100 of your wp-content/themes/single/css/flexslider.css?ver=3.5 file accomplish what you are looking for?
.flex-caption {
background: url("http://weborbis.lindebjerg.de/images/weborbis-logo.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0.8);
color: #CBCBCB;
left: 25px;
margin: 0 auto;
padding: 20px;
position: absolute;
top: 25px;
z-index: 9999;
}January 4, 2013 at 9:24 am in reply to: How to make additional widget areas just above footer widgets? #9486buddy_boy8403ParticipantNick The Geek has a great tutorial about how to add new widget areas (sidebars) on his website. You also will need to know which hook to use in the new sidebar code - luckily Genesis has a hook reference for you as well.
Give this a shot yourself using the resources in these links and reply back if you have any additional trouble.
buddy_boy8403ParticipantYou can do this with CSS by modifying the #page-title element on line 479 of your child theme's style.css file:
Change from this:
#page-title {
background-color: #F5F5F5;
border-bottom: 1px solid #E4E4E4;
border-top: 1px solid #E4E4E4;
clear: both;
margin: 0 auto;
overflow: hidden;
padding: 30px 0;
}To this
#page-title {
visibility: hidden;
}buddy_boy8403Participantwhat is your site url?
buddy_boy8403ParticipantI don't have the Magazine theme, so I can't tell you exactly whats in there, but the reason it might behoove you to look there is because there are usually things in there related to default image sizes, such as:
/** Add new image sizes */
add_image_size( 'home-bottom', 110, 110, TRUE );
add_image_size( 'home-middle-left', 280, 165, TRUE );
add_image_size( 'home-middle-right', 50, 50, TRUE );
add_image_size( 'home-tabs', 150, 220, TRUE );When you increased the width of the sidebar, you needed to also reduce the size of the images and content. You did reduce the size of the content area already, but the image (particularly the default element styling creating a width of 650px getting applied to featured images within a post) have not been touched yet. They are operating off a width of 650px when your entire content area is now only 600px. Obviously if it is showing 650px in a 600px space, there is going to be some cut off occurring. If you make the overflow visible instead of hidden on your style.css line 752 you can see the cutoff I'm talking about.
I hope this makes more sense.
buddy_boy8403ParticipantI can't tell where the element styling is coming from. I recommend looking in your functions.php file for what I wrote above or closing this thread and starting a new thread and seek Nick The Geek's assistance.
buddy_boy8403ParticipantThe problem is there is some element styling going on on the featured images in your individual posts. This element styling making the caption area 650px wide. You need to find the culprit of the element styling and delete it. You could try looking in your theme's functions.php file to see if there is anything in there relating to caption areas or images at 650px wide. Just open your wp-content/themes/magazine/functions.php and do a control F to search for 650px. If you find something in there related to your images or caption area, try commenting it out and see how that works.
I do know that once you remove the culprit of your 650px wide caption area, there is one more styling adjustment you will need to make, and that is on line 1194, change:
padding: 10px;
to
padding: 10px 20px 10px 10px;
buddy_boy8403ParticipantWeird. Just delete the last two items in bold. Not sure what is going on there. Nick The Geek or someone else will have to help you with this. It might be best to start a new thread since this problem is now with your images and your sidebar issue is resolved.
buddy_boy8403ParticipantThe only things I see that you could do still is:
1. Change the sidebar width from 300px to 308px (see the code below). You should find the code on line 1245 in this file: wp-content/themes/magazine/style.css. This will give you a little bit of a border on the right side of the primary sidebar.
.sidebar {
display: inline;
float: right;
font-size: 13px;
line-height: 20px;
width: 308px;
}To fix the image at the top of the page - do the following:
1. Add in width: 600px; to the .entry-content element which is on line 752 of wp-content/themes/magazine/style.css like I have below
.entry-content {
overflow: hidden;
width: 600px;
}2. Make the following element which starts on line 1128 of wp-content/themes/magazine/style.css look like this:
.avatar, .entry-content img, .featuredpage img, .featuredpost img, .post-image {
background-color: #FFFFFF;
border: 4px solid #EEEEEE;
margin-left: -70px;
padding: 1px;
width: 570px !important;
}Let me know how this works out.
buddy_boy8403ParticipantWhich image isn't going all the way across? The Amazon image?
buddy_boy8403ParticipantNick The Geek has a great tutorial on how to create sidebars on his site. You just need to make sure you are referencing the correct Genesis Hook when creating the new sidebar in your functions.php file. Luckily, StudioPress has created a hook reference for you!
I believe the hook you want is: genesis_after_header
Give this a shot yourself using the reference materials and let me know if you can't get it.
Also, for future reference, a link to you site is always helpful!
buddy_boy8403ParticipantRick - In looking at your test site, it looks like you got this taken care of? If so, please mark your threads for this issue as resolved.
buddy_boy8403ParticipantRick - did you get this fixed?
buddy_boy8403ParticipantHi Anitac - I plan for this blog to become pretty large over time (thousands if not 10's of thousands of posts). I like the extra features of W3TC - especially for scalability. I will wait for Nick The Geek to see if he knows why W3TC may not play well with the Genesis Tabs plugin.
-
AuthorPosts