WordPress.org

Ready to get started?Download WordPress

Forums

EvoLve
[resolved] The code for carousel/ slider (15 posts)

  1. kaski2
    Member
    Posted 9 months ago #

    Hi.

    I am new on using wordpress/ designing a webpage.

    I couldn't figure out how to change the pictures in the carousel/ slider, so I installed a plugin (wowslider).
    Now I would like to change it back again, but I have messed up the "code" in header-content.php. I saved it in word on my computer, but I guess the space is something different.
    Can anyone send me the whole "code" for header-content.php?

    And, when I get this done, how do I change the pictures in the slider?

  2. Niessah30
    Member
    Posted 7 months ago #

    do you still need help ?

  3. ebunda
    Member
    Posted 6 months ago #

    I would love to know how to change the pictures in the slider if anyone knows

  4. ryan1107
    Member
    Posted 6 months ago #

    find this in header.php "<!--BEGIN #widget-carousel-->"

    change the second line and h4 tags, to the image url and what you want it to say:

    <img src='<?php echo get_template_directory_uri(); ?>/library/media/images/slider/slider_img_01.jpg' alt='' />
    <div class='carousel-caption'>
    <h4>Built-in Bootstrap Elements let you do amazing things with your website</h4>
    </div>
    </div>

    i think thats how i did it

  5. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    @ryan1107 - please do not advise people to modify theme files - that's never good advice - as those changes will be lost when the theme is updated.

    Changes should be made in a child theme - http://codex.wordpress.org/Child_Themes

  6. Niessah30
    Member
    Posted 6 months ago #

    @WPyogi- i have tried to create child-themes based on the link given by you..but when I tried to activate the child theme, this is what shown

    Broken Themes
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name : Evolve
    Description : The parent theme is missing. Please install the "Evolve" parent theme

    And when i remove the child theme, the whole broken theme description is gone.did i do anything wrong..why i cant activate the child theme..please help

    this is what i created in style.css..please help
    /*
    Theme Name: Evolve
    Theme URI: http://theme4press.com/evolve-child/
    Description: Evolve Child Theme
    Author: http://theme4press.com
    Author URI: http://theme4press.com
    Template: Evolve
    Version: 2.5.0
    */

    /* Imports styles from the parent theme
    -------------------------------------------------------------- */
    @import url('../evolve/style.css');

    /* =Theme customization starts here
    -------------------------------------------------------------- */

  7. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    Change the theme name and the Template lines:

    Theme Name: Evolve Child
    Theme URI: http://theme4press.com/evolve-child/
    Description: Evolve Child Theme
    Author: http://theme4press.com
    Author URI: http://theme4press.com
    Template: evolve
  8. Niessah30
    Member
    Posted 6 months ago #

    @WPyogi- thank you so much .it really work..but why is that my homepage layout is being affected.. my slide show is gone completely.. my header is gone..my side bar also being affected..

  9. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    Cool - glad to hear that! You do need to redo theme settings and options in the child theme - it's like switching to any other new theme. It takes a bit of time but you'll be so much better off getting this set up right now and not making problems for later :).

  10. Niessah30
    Member
    Posted 6 months ago #

    Yeah you are right..I am very glad that you guided me on this..thank you so much.. actually i wanted to help ebunda and ryan1107 an easy way to change the slide images without modifying header.php and i cought up in child theme configuration which really benefit me ;)

  11. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    You're quite welcome - child themes are super useful so now you're all set. And thanks for helping out too :)!

  12. Niessah30
    Member
    Posted 6 months ago #

    @WPyogi- sorry to bother you again..just a question about the child theme.

    I have images posted in my parent theme, if i want to move it to my child theme do i need to add some code in my style.css of child theme or just move the image folder will do..

    here is what i want to do ;
    i want to change the slide images which located in slider folder of parent theme i.e.
    wp-content\themes\evolve\library\media\images\slider

    now i would like to like to move my slide image to child theme..is this how i suppose to create..?
    wp-content\themes\evolve-child\images\slider

    and do i need to add the following code in style.css of child theme ?
    @import url('../evolve/library/media/images/slider');

    sorry to trouble you again

  13. mcaocala
    Member
    Posted 5 months ago #

    Hello,

    I am new at the website game and could use some advice.
    I need to change a few things on the site that someone else built.
    How do I change the carousel in the header? I want to change the pictures for fresher ones.
    I have one column that is much longer than the other two. How can I make it shorter and carry the information to another page of the site the same as the other two columns?
    Any help is very much appreciated.

    http://www.mcaocala.com

  14. WPyogi
    Volunteer Moderator
    Posted 5 months ago #

    @mcaocala - could you start a new thread, please? You're not using this theme (Evolve) and this thread is already marked resolved.

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

    You can start a new thread here:

    http://wordpress.org/support/forum/themes-and-templates#postform

  15. mcaocala
    Member
    Posted 5 months ago #

    Will do thank you

Reply

You must log in to post.

About this Theme

About this Topic