Community Forums › Forums › Archived Forums › Design Tips and Tricks › make a second page work the same as the main front page on Altitude Pro
Tagged: Altitude Pro, front page
- This topic has 19 replies, 4 voices, and was last updated 6 years, 4 months ago by
dpalme.
-
AuthorPosts
-
June 21, 2019 at 4:54 pm #491824
dpalme
ParticipantAny idea how to do this?
June 21, 2019 at 9:29 pm #491827Brad Dalton
ParticipantCopy the front page file and register unique widgets using unique I.D's which match the I.D's in the front page copy.
June 24, 2019 at 11:57 am #491888dpalme
ParticipantThat does not make sense.
June 24, 2019 at 10:20 pm #491897Brad Dalton
ParticipantJune 25, 2019 at 6:45 pm #491935dpalme
ParticipantJune 25, 2019 at 11:35 pm #491939Brad Dalton
ParticipantYou would need a basic understanding of PHP code to complete this project.
At least a understanding of how widgets are registered and used in template files. This requires 2 code snippets for each new widget.
1. This is the code to register a widget area in your child themes functions file.
genesis_register_sidebar( array( 'id' => 'newsletter', 'name' => __( 'Newsletter', 'theme-name' ), 'description' => __( 'This is the newsletter widget area.', 'theme-name' ), ) );
newsletter is the unique id
2. And this is the code to output the widget in your page template
genesis_widget_area( 'newsletter', array( 'before' => '<div class="newsletter">', 'after' => '</div>', ) );
The id, newsletter, is unique for each widget area
June 26, 2019 at 10:22 am #491956dpalme
ParticipantThis does not add the parallax part though does it?
June 26, 2019 at 9:49 pm #491966Brad Dalton
ParticipantJune 27, 2019 at 6:36 am #491977dpalme
ParticipantThe background images flow like parallax.
June 28, 2019 at 2:12 am #491986andytc
ParticipantThe original page images with parallax have this code -
.front-page-1, .front-page-3, .front-page-5, .front-page-7 { background-attachment: fixed; background-color: #fff; background-position: 50% 0; background-repeat: no-repeat; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; }You'd need to add your new classes to this or just reproduce it as you want.
July 1, 2019 at 10:20 am #492050dpalme
ParticipantI added the class but it doesn't appear to be showing.
July 1, 2019 at 3:04 pm #492059andytc
ParticipantWhere’s the page you’ve reproduced .. URL ?
July 2, 2019 at 3:45 pm #492087libanaaz
MemberIts reaaly helpfull thx.
July 10, 2019 at 8:54 am #492262dpalme
ParticipantJuly 15, 2019 at 12:25 pm #492370dpalme
Participant????
July 16, 2019 at 2:00 pm #492391dpalme
ParticipantIts been a week and still no response.
July 23, 2019 at 11:05 am #492509dpalme
ParticipantGood thing I'm not hanging by a rope, I'd be dead by now. Someone has to know the answer to this.
July 23, 2019 at 11:07 am #492510Brad Dalton
ParticipantWe can provide a point in the right direction which has already been done. https://studiopress.community/topic/make-a-second-page-work-the-same-as-the-main-front-page-on-altitude-pro/#post-491939
July 25, 2019 at 7:40 am #492572dpalme
ParticipantThat does not solve or even remotely come close, The front page scrolls that's what I am trying to accomplish here. As I have said multiple times before.
July 29, 2019 at 2:14 pm #492670dpalme
ParticipantBrad,
I'll readily admit I can be a total prick at times so first, let me offer my apologies if I came across that way, certainly wasn't intended. Please email me I have a question for you that I do not want to post here: [email protected] -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.