badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Layout options

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #26329
    chantal.attia
    Participant

    Hello,

    I change the layout width as follow :

    .wrapper {
    max-width: 1220px;
    margin: 0 auto;
    background-color: #fff;
    -webkit-box-shadow: 0 0 5px #ddd;
    -moz-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;
    }
    .container {
    margin: 0 auto;
    max-width: 1073px;
    /* width: 88%; */
    }

    But the now the image of the slider don’t fill all the container.

    I think there is something to change in : attitude-slider-setting.js meaby in the line :
    containerResize: 0, // resize container to fit largest slide

    I tried to put a 1 or 100% instead 0 but it doesn’t work.

    Could you tell me what I need to change ?

    Thank you !

    #26359

    Hi chantal.attia,

    Could you provide your site Url too? Do you mean to change the slider image size? Which layout are you using? Narrow layout or wide Layout?
    This is the below slider image size.

    add_image_size( 'slider-narrow', 1038, 460, true ); 		// used on Featured Slider on Homepage Header for narrow layout
    	add_image_size( 'slider-wide', 1400, 460, true ); 			// used on Featured Slider on Homepage Header for wide layout

    If you want to change it then go to theme folder -> functions.php on line no 143 and 144 and you may change the slider size. After changing the slider size then you need to install regenerate thumbnails to re generate the image size.
    https://wordpress.org/plugins/regenerate-thumbnails/

    But we recommended you to create a child theme and then only customize the code so that while updating to new version your customized code will be lost and you need to do the same things again. If you are unable to fix it then you need to hire a developer to fix it.

    Thank you!

    #26373
    chantal.attia
    Participant

    Hello,

    I don’t use neither the narrow nor the wide, change the layout in the child theme css for my “personnal” layout. I thought the “image” will automatically follow (as it automatically follow for the responsive) !

    Sorry the adress is : http://www.guerisonspirituelle.com

    Thank you

    #26378

    hi chantal.attia,

    Yes you are using the narrow layout. Its the default layout of the theme. Go to theme folder -> functions.php on line no 143 and you will find this code.
    add_image_size( 'slider-narrow', 1038, 460, true );

    Replace this code with larger size you want.
    add_image_size( 'slider-narrow', 1220, 460, true ); // where 1220 is width and 460 is height of slider

    Then install regenerate thumbnails plugins in your dashboard. https://wordpress.org/plugins/regenerate-thumbnails/

    Then now your image will show in 1220 and 460

    But 1 thing remember while updating to new version your need to change the same code again. Because all your customized code will be lost while updating to new version. So better make child theme and then customize the code.

    Thank you!

    #26381
    chantal.attia
    Participant

    oh ! I make a big mistake ! 🙁

    First I change the functions_php here :

    /www/wp-content/themes/attitude/library/functions/

    (I kept a copy of the natif functions.php there)
    Is it normal that I see a file name : i18n.php ?

    But without paying attention I delete the functions.php, without having a copy, in the file :

    www/wp-content/themes/attitude/

    Now of course my site has disappeared !

    #26382
    chantal.attia
    Participant

    I fix the problem in installing Attitude on my PC and upload the functions.php file at the right place

    I find the line 143 and make the change but I lost of the style.

    I think I have a problem with the folder

    Here the functions.php I have in /www/wp-content/themes/attitude/library/functions/

    <NotepadPlus>
    <Session activeView=”0″>
    <mainView activeIndex=”4″>
    <File firstVisibleLine=”9″ xOffset=”0″ scrollWidth=”840″ startPos=”1268″ endPos=”1268″ selMode=”0″ lang=”PHP” encoding=”-1″ filename=”C:\Users\Chantal\Documents\MON SITE GUERISON\wordpress\wp-config-sample.php” backupFilePath=”” originalFileLastModifTimestamp=”1436378378″ />
    <File firstVisibleLine=”0″ xOffset=”0″ scrollWidth=”720″ startPos=”0″ endPos=”0″ selMode=”0″ lang=”PHP” encoding=”-1″ filename=”C:\Users\Chantal\Documents\MON SITE GUERISON\wordpress\wp-config.php” backupFilePath=”” originalFileLastModifTimestamp=”1435869540″ />
    <File firstVisibleLine=”23″ xOffset=”0″ scrollWidth=”936″ startPos=”1947″ endPos=”1947″ selMode=”0″ lang=”Normal Texte” encoding=”-1″ filename=”C:\Users\Chantal\Desktop\.htaccess” backupFilePath=”” originalFileLastModifTimestamp=”1436400784″ />
    <File firstVisibleLine=”117″ xOffset=”0″ scrollWidth=”1016″ startPos=”6228″ endPos=”6228″ selMode=”0″ lang=”PHP” encoding=”-1″ filename=”C:\Users\Chantal\Desktop\Nouveau site Guérison – Attitude\Codes Attitude\functions-avec-amelioration-vitesse-contact-form-7.php” backupFilePath=”C:\Users\Chantal\AppData\Roaming\Notepad++\backup\functions-avec-amelioration-vitesse-contact-form-7.php@2015-07-13_131025″ originalFileLastModifTimestamp=”1436593180″ />
    </mainView>
    <subView activeIndex=”0″ />
    </Session>
    </NotepadPlus>

    !
    I think I mix everything and now I am lost !

    Thank you.

    #26384
    chantal.attia
    Participant

    Sorry for the number of posts, I fix the problem from Attitude downloaded on my PC uploading the 2nd functions.php file in themes/attitude/library/functions/

    So finally (ouf ! 😉 ) I change the width and installed the plugin but it doesn’t change the situation.

    Thank you

    #26406

    Hi chantal.attia,

    After installing the plugins you just regenerate the thumbnail. View this below screenshot.
    http://awesomescreenshot.com/0dc52b2347

    Thank you!

    #26410
    chantal.attia
    Participant

    Hello,

    After all the “soup” I made, it works perfect !

    Thank you five stars * * * * * team !

    #26428

    You welcome chantal.attia
    Thank you!

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