Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter timwarner69

    (@timwarner69)

    Is anyone in support able to help e with this please?

    Thread Starter timwarner69

    (@timwarner69)

    Thanks Ed,

    I applied that, but it didn’t seem to do anything – can you check my css please? Not sure it’s correct…

    #tribe-events-bar .tribe-bar-filters {
    margin-top: 0px;
    margin-bottom: 0px;
    }
    #tribe-events-bar #tribe-bar-views .tribe-bar-views-inner {
    margin-top: 0px;
    margin-bottom: 0px;
    }

    Thanks again for all your help.

    Tim.

    Thread Starter timwarner69

    (@timwarner69)

    Thanks Ed,

    You were right. The custom css wasn’t applying. I read the [very helpful] article you suggested & went with the plugin Simple Custom CSS, which worked a treat & the css has been applied successfully. Thank you.

    Would you have any css suggestion to apply the same margin reduction to the filter at the top of the same page too please? The header & footer of that filter section is way too big too, it’d be great to be able to reduce it a bit.

    Thanks in advance.

    Tim.

    Thread Starter timwarner69

    (@timwarner69)

    Hi Ed,

    Did you catch my response to your suggestion? Just wondered if you had any other suggestions please? We’re hoping to go live next week & it would be really helpful to have this issue resolved in time.

    Happy to give you admin access to the site if that would help.

    Thanks in advance.

    All the best,

    Tim.

    Thread Starter timwarner69

    (@timwarner69)

    Hi Ed,

    Thanks for the quick reply, I really appreciate it. I’ve dropped that into the Avada custom css area on the theme & refreshed the page but no luck I’m afraid. I tried a different browser too, but still no good. Should I try it somewhere else? If so, could you give me a steer please?

    Thanks again.

    Tim.

    Great work @klandis79 – thanks so much for all your help.

    @klandis79 thank you so much for all your time and trouble… however that’s just killed the site it seems ?? I just get a blank screen now when I try to access the site at staging.thurnbychurch.com

    I took a backup of fronted.php before I added the edits & the site returns fine when I place the backup back in the folder, but the minute I add that second part of the code amend (sb_download_page) it just crashes out the site.

    Any ideas? I feel really bad to keep asking, but I just can’t work out what’s going wrong…

    @klandis79 thanks so much. It hasn’t quite worked though… & I’m sure it’s just me. This is the full sb_download_page function – would you mind just amending it to include your code in the correct place/format & I’ll just copy & paste it over the whole thing…? This is all a bit out of my comfort zone!

    function sb_download_page ($page_url) {
    if (function_exists(‘curl_init’)) {
    $curl = curl_init();
    curl_setopt ($curl, CURLOPT_URL, $page_url);
    curl_setopt ($curl, CURLOPT_TIMEOUT, 2);
    curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($curl, CURLOPT_HTTPHEADER, array(‘Accept-Charset: utf-8;q=0.7,*;q=0.7’));
    $contents = curl_exec ($curl);
    $content_type = curl_getinfo( $curl, CURLINFO_CONTENT_TYPE );
    curl_close ($curl);
    }
    else
    {
    $handle = @fopen ($page_url, ‘r’);
    if ($handle) {
    stream_set_blocking($handle, TRUE );
    stream_set_timeout($handle, 2);
    $info = socket_get_status($handle);
    while (!feof($handle) && !$info[‘timed_out’]) {
    $contents .= fread($handle, 8192);
    $info = socket_get_status($handle);
    }
    @fclose($handle);
    }
    }
    return $contents;
    }

    @klandis79 I’m experiencing the same issues – would you mind just giving me the benefit of your expertise please?

    I’m using Sermon Browser on our church site & am working on a staging site at staging.thurnbychurch.com

    I’ve added the amended url & API key in fronted.php here:

    function sb_add_esv_text ($start, $end) {
    $esv_url = ‘https://api.esv.org/v3/passage/html/?q=f79c1e8a036f6bfe6f6677a916681ca40e5502ef&passage=’.rawurlencode(sb_tidy_reference ($start, $end)).’&include-headings=false&include-footnotes=false’;
    return sb_download_page ($esv_url);

    And added your new function from your previous post at the end of the function.php file, but am getting an error on the page of:

    {“detail”:”Authentication credentials were not provided.”}

    Any ideas what I’m doing wrong please?

    Thread Starter timwarner69

    (@timwarner69)

    Hi Damian

    Thanks for the reply. I’ll open a support ticket as you suggest, & try & make explain myself better!

    All the very best,

    Tim.

Viewing 10 replies - 1 through 10 (of 10 total)