• JamesM

    (@righton)


    I am trying to make a very minor change to the header that runs sight wide. To make the change all I am doing is adding an additional class to a container div and adding some CSS to the custom CSS section inside the Customize section in the WordPress admin area.

    The problem I am having is that the changes in the index.php file for my theme are visible through the editor in WordPress and through FTP, but when you view source on the main page, the changes aren’t there.

    I’ve cleared the cache on my browsers as well as checked and cleared the server cache for my site as well, and the issue persists.

    The change I’m making is from this:

    	<!-- Hero content -->
    	<div class="container">
    	  <div class="row blurb">

    To this:

    	<!-- Hero content -->
    	<div class="container w-100">
    	  <div class="row blurb">

    No matter what I add to the code, the site just doesn’t see the updates. I’ve dug through everything I can find and don’t see that bit anywhere but in index.php.

    I’m using Chrome as my main browser but I’m also testing in Firefox and Safari.

    Any idea why nothing would update?? Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • hyperionstudios

    (@hyperionstudios)

    first how about you install a which template plugin to make sure which template file is being loaded

    Then in that file check get_header function if its loading the correct header you are working with.

    If you are using a 3d party theme they may have a custom header file included in the templates, so this practice is only to make sure that you are working with the correct files.

    Also are you using a 3d party security services like sucuri or cloudflare as they have their own cached version of your website so clearing the cache on your server may not be enough as you still need to clear it on their servers as well.

    Thread Starter JamesM

    (@righton)

    Thank you, I will check these things and reply tomorrow.

    Thread Starter JamesM

    (@righton)

    We are on a Managed WordPress account with GoDaddy so I can easily purge the server cache from inside WordPress.

    As far as I can tell GoDaddy isn’t using sucuri or cloudflare, or so I’m told by their support.

    Looking through the list of files pulled from the plugin I installed to see what’s rendering the page I’m editing I’m not immediately seeing anything overwriting my edits on index.php. The header portion in the transparent grey box actually resides in the body section of the site and not in the header file. If it helps, we’re using the Unyson framework.

    I’m not really sure what to provide to troubleshoot further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changes don’t show up after saving’ is closed to new replies.