Moving (and dup[licating) Page Elements

Home Forums WordPress Themes – Premium Circumference Moving (and dup[licating) Page Elements

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #15620
    Roland
    Member

    Hey 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.

    #20644
    Sushil Adhikari
    Moderator

    You 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.

    #20645
    Roland
    Member

    Oh 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” ?

    #20646
    Anonymous
    Inactive

    Well 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.

    #20814
    Ellen
    Participant

    This is excellent. I’m trying to do the same thing with Encounters. Same process?

    #20816
    Anonymous
    Inactive

    Yes the process should be similar for Encounters theme too.

    #20819
    Ellen
    Participant

    Hm, 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?

    #20821
    Anonymous
    Inactive

    My 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 !

    #20822
    Ellen
    Participant

    Thank 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!

    #15621
    Anonymous
    Inactive

    Happy Holidays Ellen.. Have a nice time !

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.