Forum Replies Created
-
AuthorPosts
-
Jeff
MemberHi! Looking at your site, it looks like line 1264 in your style.css file is the reason. There is a min-height set to 530px. I think if you just remove that, everything should look fine. At least the large white space will be removed anyways.
Jeff
MemberDo you mean minimum pro? To change the slug, you'll need to edit your functions.php file. Look for the block of code that looks like this:
//* Create portfolio custom post type add_action( 'init', 'minimum_portfolio_post_type' ); function minimum_portfolio_post_type() { register_post_type( 'portfolio', array( 'labels' => array( 'name' => __( 'Portfolio', 'minimum' ), 'singular_name' => __( 'Portfolio', 'minimum' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'menu_icon' => 'dashicons-admin-page', 'public' => true, 'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ), 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo' ), ) ); }
On the line that says "'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false )," change the word portfolio to gallery. Make sure to keep the single quotes. You can also change the name and the singular_name so it shows up as gallery on the WordPress admin page. I hope that makes sense.
Jeff
MemberDid you build your site off of a specific theme? Or did you create a portfolio custom post type?
September 1, 2015 at 12:27 pm in reply to: Can a specific navigation link be targeted with a class? #164230Jeff
MemberUnder Appearance > Menus, if you click screen options (top right of screen), check the CSS Classes check box. Then if you expand the menu item you need, there should be a field for your class.
Hope that helps.
Jeff
MemberI'm a little unclear on how you want it changed. Do you basically just need a larger area for where the logo is now?
Jeff
MemberIn your style.css, add:
.site-header .wrap { max-width: 100%; }
This will let your site header area span the full width of the page. Now do you have an image you're trying to use or are you just going to use a background color?
Jeff
MemberThat's great!
I thought we were talking about the width of the images because on my large monitor, the site looks good but on my smaller one, some of the sections are cut off.
Jeff
MemberFirst off, I love your design work. Nicely done.
Other than the first section with the little heart, I'm not seeing any widgets on your site. Can you be more specific? What I'm seeing cut off is your background images. I may be wrong here but it looks you might be going at building the site wrong. Each section is just a different background image instead of a background image with widgets of text. I think that would solve your problem. Hope that makes sense.
Jeff
MemberDo you still need help with this?
Jeff
MemberIt looks like you have a text widget in the "before header" widget area. I think if you remove it, the white area will go away.
Jeff
MemberI'd like to try and help you but the links in your post aren't working.
Generate Pro supports header images of the size 360?—140 pixels. If you want an image that spans the full width of the page, that will involved changing some CSS code. Once I can see your links to understand exactly what you're trying to do, I can help more.
August 9, 2015 at 7:12 pm in reply to: Smooth Scroolling Links on Altitude pro based on home page scroolling code #161876Jeff
MemberSorry! After posting my previous post, I just realized that there's going to be more you'll have to do to get this to work site wide.
The front-page.php file creates the widget areas with the appropriate ID's (front-page-1, front-page-2, etc.) and your navigation bar links are setup for each of the sections on the front page so they won't work on additional pages.
Off the top of my head right now, I'm not for sure how to setup the other pages. I'll do so playing around here over the next couple days and try to find a complete solution for you. Or perhaps someone else will chime in before.
Anyways, hope that makes sense. Sorry for my premature post. Good luck.
August 9, 2015 at 6:59 pm in reply to: Smooth Scroolling Links on Altitude pro based on home page scroolling code #161875Jeff
MemberYou should be able to apply the smooth scrolling site wide by cutting this code from the front-page.php file
//* Enqueue scripts add_action( 'wp_enqueue_scripts', 'altitude_enqueue_altitude_script' ); function altitude_enqueue_altitude_script() { wp_enqueue_script( 'altitude-script', get_bloginfo( 'stylesheet_directory' ) . '/js/home.js', array( 'jquery' ), '1.0.0' ); wp_enqueue_script( 'localScroll', get_stylesheet_directory_uri() . '/js/jquery.localScroll.min.js', array( 'scrollTo' ), '1.2.8b', true ); wp_enqueue_script( 'scrollTo', get_stylesheet_directory_uri() . '/js/jquery.scrollTo.min.js', array( 'jquery' ), '1.4.5-beta', true ); }
and then pasting it in the functions.php file.
Hope that helps!
Jeff
MemberAnother way to fix this would be to add some padding to .front-grid section.
The Agency theme uses padding for the .home-middle section. So something like this should work.
.front-grid { padding: 15% 0 0; }
Also, on line 1357, remove the margin-top: 200px
#front-grid .wrap { background: transparent none repeat scroll 0 0; /* margin-top: 200px; */ margin-bottom: 0px; padding: 0px; }
I can't test the JavaScript setting but I got it working just fine by adding the padding and removing the margin-top.
Jeff
MemberIn your home.js file, you are missing a comma. That is why the offset is not working.
jQuery(function( $ ){ $.localScroll({ duration: 900, //you need a comma here, after 900 offset: -62 }); });
Jeff
MemberYes, that's part of it. You need to remove height, margin, and text-indent. That will let your slogan show up. You'll probably want to make the font size a little larger. Then there's a couple other changes to get it positioned where you want it. We will get this working for you! 🙂
.site-description { font-size: 9px; }
-Jeff
Jeff
MemberI think it looks great!
One thing I noticed was the background of the footer widgets on the front page. It doesn't blend with the top widget section background. It's the little things. 🙂
Jeff
MemberRenee, sorry for posting the screenshot. It's been taken down.
On line 918, did you remove everything under .site-description except a font-size?
Jeff
MemberLike this, right?
Jeff
MemberI go it to work on your site as well while inspecting the code. I wonder why it's not working for you....
-
AuthorPosts