Home › Forums › WordPress Themes – Premium › Circumference › Moving (and dup[licating) Page Elements
- This topic has 9 replies, 40 voices, and was last updated 8 years, 11 months ago by
Anonymous.
-
AuthorPosts
-
November 13, 2014 at 12:54 am #15620
Roland
MemberHey there, Andre:
I may be repeating myself from this post: https://www.styledthemes.com/forum/celestial-reloaded/1160-moving-bottom-widgets-higher-on-the-page
. . . but in the event the answer is different with Circumference I gotta ask again.Here’s my test site: http://hotwebsiteinaweekend.com/ and I’d like to drag the text “Get Your Own Client-Attracting Therapist Website Designed and Launched in as few as 7 Days” with the full-width colored background above the slider.
Is it the same process as you posted in the other thread or is it different with Circumference?
PS – in a mildly similar vein . . . is there a recommended way to add a full-width, responsive, color-able, text segment or widget wherever we want on the homepage without rewriting the theme? I don’t mind rewriting, but if you know of a short-cut I’ll send ya flowers.
Maybe.
Or maybe donuts.
Or hamsters.
It’ll be a surprise either way.
November 13, 2014 at 3:19 am #20644Sushil Adhikari
ModeratorYou would have to open the header.php and move this:
…to above this:
<aside id="cir-banner".......
Not sure what you mean by a full width responsive color-able text segment…are you referring to some themes that have this full width section that sometimes is seen in parallax themes with a background colour or image? If so, not really possible without a Page Builder plugin. Incidentally, if a user wants to use a page builder, this theme does have a page builder page template that is ready for use with one of these plugins.
November 13, 2014 at 4:32 pm #20645Roland
MemberOh man . . . that worked great (moving the header php elements). Thank you so much.
Re: the full width responsive color-able text segment. . . . No, nothing paralax-ey or image-ey . .. . just a section like the Call To Action section you already have in Circumference.
If I want to add another (for a total of 2) how do I do it so that I also have a matching widget waiting for me in “Widgets” ?
November 13, 2014 at 5:41 pm #20646Anonymous
InactiveWell that can be little work as you need to create another widget for it.
Open the inc/widget.php file and add the following code inside circumference_widgets_init() function to create new widget
register_sidebar( array( 'name' => __( 'Call to Action 2', 'circumference' ), 'id' => 'cta2', 'description' => __( 'This is a call to action 2 which is normally used to make a message stand out just above the main content.', 'circumference' ), 'before_widget' => '', 'after_widget' => '', 'before_title' => '
', 'after_title' => '
', ) );and create sidebar-cta2.php file and copy the content of sidebar-cta.php file to this file.
In sidebar-cta2.php file, make sure you change the code of dynamic sidebar to :
And put this code wherever you want to display this new call to action block in header.php ( I assumed that you want to add this on header).
Now you can already see Widget placeholder is added Appearance -> Widget area and add the widget.
December 18, 2014 at 12:35 am #20814Ellen
ParticipantThis is excellent. I’m trying to do the same thing with Encounters. Same process?
December 18, 2014 at 7:59 am #20816Anonymous
InactiveYes the process should be similar for Encounters theme too.
December 18, 2014 at 9:30 pm #20819Ellen
ParticipantHm, okay. I have created the widget placeholder, but can’t seem to get it to display. Where exactly do I put the code in the header.php file for Encounters?
December 19, 2014 at 10:03 am #20821Anonymous
InactiveMy apologizes, in Encounters you can see that they are not placed in header they are placed in page templates. Not sure what page template you’re using. If you’re using Frontpage full width page template then you can see this code there :
You should use the below code somewhere there where you want to display it.
P.S. If you need help with particular theme it will be great if you can open the thread in that category itself and refer this as link so that will be better.
Thank you !
December 22, 2014 at 10:09 pm #20822Ellen
ParticipantThank you. I’ll try that. I knew I was missing something.
Sorry about not putting my comments in the correct thread, I just saw the same issue here and in my eagerness neglected to start a new thread.
Happy Holidays!
December 23, 2014 at 7:36 am #15621Anonymous
InactiveHappy Holidays Ellen.. Have a nice time !
-
AuthorPosts
- You must be logged in to reply to this topic.