Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Changed some of your css and now it works well for me in firefox.

    .widget-front .round-div {
      border: 104px solid #F1F3E6;
      height: 170px;
      left: -54px;
      top: -61px;
      width: 170px;
    }

    Let me recomend you a browser plugin for web development, firebug. Pretty useful.

    Thread Starter Galegri

    (@galegri)

    I have a new idea how to do that.
    If I could find the SQL query that selects the slides information I could modify it with something like:
    […] where image_name like ‘%_es%’;

    This way i shouldn’t modify my php.
    Waiting for an answer… while searching for it ??

    If you want to solve your featured pages straight edges you need bigger images. I think the right size is 270px * 250px.

    1. Log in as admin
    2. Click on Costumize it! on the top of admin panel.
    3. Select Main page
    4. Check Post page to be unselected or there is not the main page
    5. Check The main page shows to An static page
    6. Check Home page to be your main page

    If all of it is right, i think there should be some bug or error.
    May be some names in italic are diferent due i have the theme in other language.

    Hope i helped you!

    The problem with that is the slides don’t use any id so you can’t distinct one of the other.

    You should modify the way they are created to give them an id and then use a conditional to aply what i expose in my coment only on the slide you want.

    Now, i don’t have time to do it for you, but i’m working on the slider too and i’m learning how it works. May be in two or three days, when i have my work donne, i’ll know enought to help you.

    Thanks for your answer. It’s my first time with wordpress and didn’t know about child themes.

    The slider that Customizr theme use is not a pugin but a part of the theme. So you can not place it where it’s not designed for.
    The best solution is to get an slider plugin and add it to your site.

    Hope it helped you. Nice site and great idea.
    If you need any help contact me.

    I have found a way to do that but i’m not sure if it’s the right way.
    First of all, what we will get (just to be sure that’s what you need): You are going to specifie a number. e.g. 16. And the code is going to put a line break before or after the 16th character, it never brokes any word so if the 16th character is in the middle of a word the line break will be donne before this word. Let me tell you that it will be donne with all the descriptions in the slider.

    How to do that:
    First of all we are going to edit the theme file /customizr/parts/class-content-slider.php.
    Here you need to search that line (it should be line 80):

    $text                   = ( strlen($text) > $default_text_length ) ? substr( $text,0,strpos( $text, ' ' ,$default_text_length) ). ' ...' : $text;

    and put this on the next line:

    $text = nl2br(wordwrap($text, 16, "\r\n", true));

    The 16 is the number you want to change to control the line break.
    The wordwrap() puts a line breack on 16th character or before and the nl2br() changes it to an html line break.
    Next you have to find this line in the same document (after the last change it would be line 201):

    $data['text'] = esc_html( apply_filters( 'tc_slide_text', $data['text'], $id ) );

    Copy, paste it on the next line and coment it, so you will have somethig like it:

    //$data['text'] = esc_html( apply_filters( 'tc_slide_text', $data['text'], $id ) );
    $data['text'] = apply_filters( 'tc_slide_text', $data['text'], $id );

    As you can see i modified the line so it respects the line break. I recomend to keep the old line comented so you can always undo the proces.

    Let me know if you have any problem or that’s not the solution you was expecting.

Viewing 8 replies - 16 through 23 (of 23 total)