This topic is: not resolved
- This topic has 23 replies, 4 voices, and was last updated 7 years, 5 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Community Forums › Forums › Archived Forums › Design Tips and Tricks › Altitude Pro – some questions about adding widget areas & adding site logo
Tagged: Altitude Pro, background image, Logo, widget area
@jhguynn I am assuming that you will be buying @victorfont a beer or two 🙂
Marketing, Sales and WordPress Growth Hacking http://www.smbpress.com
Hey Victor Font and/or James Chai:
After successfully adding two more sections to my front-page.php in Altitude pro ("solid-section" = front-page-8 and "image-section" = front-page-9), I then set out to add the appropriate bookmarks to the page url's in the site navigation, e.g. "#front-page-2"
I notice that the bookmarks for the pre-existing sections work great, i.e. "#front-page-2". In other words, somewhere in the code there is some padding built in to accommodate the site navigation bar. When I click the navigation link for "section 2" the page scrolls just the right amount so that none of that section is hidden behinds the nav bar.
But when I click the navigation link for section 8 (the one I added), the page just scrolls all the way to the top. No padding is margin-top or provided, so some of this section gets hidden behind the nav bar.
Where in the theme's code do I add this? CSS? Appreciate the help.
In the style.css I would add it after the CSS for section 7. You may have to play with the spacing to see what works.
i.e.
#front-page-8 {
margin-top: 20px;
}
Marketing, Sales and WordPress Growth Hacking http://www.smbpress.com
Problem solved. Thanks James!
© 2024 WPEngine, Inc.