Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 1,936 through 1,950 (of 2,001 total)
  • Author
    Search Results
  • Maria LeventiMaria Leventi
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 7, 2014

    With these code lines :
    .header .logo{padding:0px !important;}
    .header .logo .site-description {display: none;}
    .logo br {display: none;}
    and by removing what you sugested me from header.php

    There is still a very small space (you can see it at http://hpm2015.com/)

    but i don’t mind it’s allot better

    thank you

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Add this as well:
    .logo br {
    display: none;
    }

    So with the above codes and this one there should be no space at all.

    Regards,
    Shri

    PS: No need to send us email plus header.php as well now

    Maria LeventiMaria Leventi
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 7, 2014

    sorry but i canot do that,
    i will send you the header.php file instead to show me which code i should remove.
    additional when i replaced the code:.header .logo{padding:0px !important;}
    with :
    .header .logo .site-description{padding:0px !important;}
    i had all the empty space again even on top so i kept the first.

    Thank you

    Maria LeventiMaria Leventi
    Member
    • Topics: 1
    • Replies: 4
    • Total: 5
    Member since: December 7, 2014

    hello again,

    i don’t understand what you want me to remove from header.php.

    In SKT Full Width Pro: Header (header.php) there is nothing like After ending of
    so i’m not sure what to remove.

     

    #3597

    In reply to: Avoid slide squeezing

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi David,

    Try this In functions.php as shown here: http://sktthemesdemo.net/documentation/full-width-documentation/#slider-setting
    search this:
    fit_always = 0
    fit_portrait=1

    Change portrait to 0 and always to 1 and save the file.

    And then check in your tablet.

    Hope this will resolve it for good.

    Regards,
    Shri

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Sorry for delay in reply as we had National Holiday yesterday.

    Kindly check header.php file in WordPress admin>Appearance>Editor.

    Check this line:

    After ending of

    tag you have

    Kindly remove that.

    Also Click on WordPress admin>Appearance>Theme Options>Layout Settings>Custom CSS and add this .header .logo .site-description{padding:0px !important;}

    This is the most that can be done.

    Regards,
    Shri

    #3575
    claudio pimazzoniclaudio pimazzoni
    Member
    • Topics: 1
    • Replies: 6
    • Total: 7
    Member since: December 31, 2014

    I changed to 21  ( file function.php)but the last image slider  remain 15 in the page of option for adding the images.

    Pls let me know if I have to change something else.

    #3568
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Yes i think so should be possible. Kindly check functions.php via Appearance>Editor

    There you will find a line: $i=1;$i<16;$i++

    Change 16 to 21. And let us know if that increased the number to 20?

    Regards,
    Shri

    #3543
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Check the following file via FTP:

    wp-content/themes/gymmaster/inc/custom-functions.php
    Check line 720
    This is the exact line:

    $return_string .= ‘

    Our Courses

    Change Our Courses to Our Services in this case.

    Regards,
    Shri

    #3503
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Sorry for this. This is appearing from custom-functions.php in inc folder of the theme.

    I know it is difficult for you to change it since it appears via functions file inside theme folder.

    If you want us to do it send us only FTP details via email: suppport@sktthemes.com

    We will do this for you.

    In case you are comfortable doing it yourself we will send exact instructions on how to do this.

    let us know.

    Regards,
    Shri

    #3468
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Rod,

    I don’t think i put forth my points correctly. Yes what you are saying with regards to people is correct and yes some people may get cut on cell phone.

    So do this in functions.php you can change fit_always = 0 change this to 1.

    And fit_portrait=1 change this to 0.

    Then images would fit always in the screen but would show black or the default background.

    Regards,
    Shri

    #3389
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Norbert,

    Yes check functions.php and search stop_loop

    Below it has random. Change 0 to 1 and it will randomize the slider.

    Regards,
    Shri

    #3375
    Don WallerDon Waller
    Member
    • Topics: 12
    • Replies: 15
    • Total: 27
    Member since: October 14, 2014

    Okay, I tried that and got this error:

    Parse error: syntax error, unexpected ‘{‘ in /home/twisted/www/www/wp-content/themes/skt-photo-world-pro/functions.php on line 320

    I reloaded functions.php from my local ‘clean’ copy and the error went away.

    Here is code from line 320 to 322:

    <?php

    if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) {

    for ($i=1;$i<16;$i++) {

    Am I misplacing the new code? Should the <?php stay?

    Thanks.

    #3368
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Norbert,

    For sure you can. Just a very small part of code is involved. Check from Appearance>Editor>content-single.php and content.php

    Line number 12 or 13 where its written:

    comments_number

    Change it to the_author

    Do not touch any PHP tags. Let them be as it is.

    Regards,
    Shri

    #3367
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Check functions.php line number 320 to 322.

    Replace with the following code and save: if( $imgUrl != ” ){

    echo ‘{image : \”.$imgUrl.’\’, title : \”.( ($imgTitle!=”) ? ‘<div class=”slide-title”><span>’ : ” ).( ($imgHref!=” && $imgTitle!=”) ? ‘<a href=”‘.$imgHref.'” target=”_blank”>’ : ”).$imgTitle.( ($imgHref!=” && $imgTitle!=”) ? ‘</a>’ : ”).( ($imgTitle!=”) ? ‘</span></div>’ : ” ).( ($imgDesc!=”) ? ‘<div class=”slide-description”><span>’.esc_html($imgDesc).'</span></div>’ : ” ).( ($imgHref != ”) ? ‘<div class=”slide-description”><span><a href=”‘.$imgHref.'” target=”_blank”>Read More &rsaquo;</a></span></div>’ : ”).’\’, thumb : \”.$imgUrl.’\’, url : \’\’}’.( ($i==15) ? “” : “,”).”\n”;

    }

     

Viewing 15 results - 1,936 through 1,950 (of 2,001 total)