FoodRecipes 1.1.5 Update Details

This article is for those people who can’t just update the whole theme due to customization they have made in the theme and already deployed on live. Lets take a look.

Function.php

  1. This file is in root directory of the theme. We have removed a script we used for background position animation instead of CSS3 to make is compatible for old browsers. We have removed that script enqueued in theme. It is on line number 865 in old theme. See Figure 1.1 for reference.
  2. New version of WordPress has updated its jQuery to 1.8.3, which has some changes that were creating problem for jQueryUI to word properly so we have updated jQueryUI version to 1.9.2. It is working fine after that. You can download jQueryUI by clicking here. You have to put this file in js directory of theme main directory to make it work. See Figure 1.1 for reference.

Figure 1.1

Script.js

  1. As we have removed a script and now we have to remove the code using this script to get rid of js error about ‘function not exist’. For that we have to remove some code from script.js which is in js directory in theme directory. See Figure 2.1 for reference.

Figure 2.1

Style.css

We have only one change in style.css file which is placed on root directory of theme.

  1. Change whole line at line number 159 in Style.css file with the given line. Just to make sure, screenshot of the code is given in figure 3.1
    #nav-wrap .social-nav li a { display: block; width: 22px; height: 22px; font-size: 0px; background: url("images/social-networks.png") no-repeat; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
  2. After changing the line given above with target we have to put a line of code after line number 163. See Figure 3.1 for reference.
    #nav-wrap .social-nav li a:hover { background-position: left bottom; }

We are good to go now. If you face any other problem in theme please let us know.

Have fun!

0

x
Due to Eid al-Fitr our team will be on vacations from 28th July to 3rd August. During this time, replies for all tickets and forum threads will be postponed. We will resume our operations from 4th August.