WordPress.org

Forums

Customizr
Slider is not taking the full page width (8 posts)

  1. Dibyendu
    Member
    Posted 1 year ago #

    The Slider should ideally take the full page width. But it is not taking.

    Another query How to show a "Read More" button on home page just after the each post excerpts.

  2. Dibyendu
    Member
    Posted 1 year ago #

  3. Axel13
    Member
    Posted 1 year ago #

    This is preventing it:

    #customizr-slider {
    max-width: 960px;
    margin: 0 auto;
    }

    Erasing the max-width will set the slider to 100%

  4. Axel13
    Member
    Posted 1 year ago #

    To show a "more" link, add the following code to your functions.php file.

    // Replaces the excerpt "more" text by a link
    function new_excerpt_more($more) {
    global $post;
    return 'ID) . '"> Read the full article...';
    }
    add_filter('excerpt_more', 'new_excerpt_more');
    If you are using a Child Theme, the above code will not work without modification if the parent theme has it's own filters setting it's own "more" link. You will need to use the remove_filter() function to remove the parent's filters for yours to work. The problem is your functions.php file is loaded before the parent's functions.php, so at the time of your file's execution, there is no filter to remove yet, and your remove_filter() code will fail without warning.

    http://codex.wordpress.org/Customizing_the_Read_More

  5. Dibyendu
    Member
    Posted 1 year ago #

    the Slider issue fixed.

    But not able to change the more text yet.

  6. ElectricFeet
    Member
    Posted 1 year ago #

    The read more functionality is standard WordPress. Simply insert <!--more--> in the post where you want the break to be.

    In Customizr, if you set Customiz'it > Pages & Posts Layout to:
    - Display the Excerpt, then the text on the post list will simply break at that point.
    - Display the Full Content, then the post will show a clickable (more...) at that point.

  7. Dibyendu
    Member
    Posted 1 year ago #

    In Customizr, if you set Customiz'it > Pages & Posts

    But where will I have to put that?

  8. ElectricFeet
    Member
    Posted 1 year ago #

    Customiz'it is the settings page for Customizr. It's a blue button in the black bar at the top of the WordPress dashboard screen. It says "Customiz'it".

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.