Few Questions

Best WordPress theme for game news websites, game portals or whatever your preferred subject.
GK User
Tue Jun 11, 2013 1:48 pm
Hello there,

I want to decrease the main heading font size?

Also in a single post page, instead of featured image on the top, I want to place an advertisement along with half the size featured images (So half should be featured image and half an advertisement banner). Is it possible to do that?

Thanks
User avatar
Junior Boarder

GK User
Tue Jun 11, 2013 1:55 pm
Please edit: wp-content/themes/GameNews/css/override.css
Code: Select all
#gk-mainbody article > header h1, #gk-mainbody article > header h2 {
font-size: 38px;
line-height: 48px;
}


Then change font size and line -height to your liking.

Remember to enable "Use the override.css file" in theme settings (item in admin menu, under comments section, advanced tab).

With "advertisement" thing - it's a customization job that we don't support.
The only thing I would suggest to think, if advertising needs to be fixed, or You would like to manage it somehow (then a widget or plugin would be needed). Then You could edit content-page.php to add code for advertising, and use css to place it right, or even edit /layouts/content.post.featured.php.

You could also use Child Theme and copy necessary files to it and make those changes in child.
User avatar
Moderator

GK User
Sun Aug 11, 2013 2:30 pm
Okay Thanks.

I have recently upgraded the theme to 1.5 version. And now I cant add or update any widgets. It turns error saying
"Fatal error: Cannot unset string offsets in /wp-content/themes/GameNews/gavern/helpers/helpers.features.php on line 388"

Please suggest.
User avatar
Junior Boarder

GK User
Tue Aug 13, 2013 3:32 pm
With new problems, please create new threads.

I have asked our devteam for help.
User avatar
Moderator

GK User
Tue Aug 13, 2013 4:02 pm
Ok, got fast bug fix...

Please comment out this section in helpers.features.php file:
Code: Select all
         // get the widget names from the exisitng settings
        $widget_names = array_keys($options_type);
        // check for the unexisting widgets
        foreach($widget_names as $widget_name) {
            // if widget doesn't exist - remove it from the options
            if(in_array($widget_name, $all_widgets) !== TRUE) {
                unset($options_type[$widget_name]);
                unset($options[$widget_name]);
                unset($styles[$widget_name]);
                unset($styles_css[$widget_name]);
                unset($responsive[$widget_name]);
                unset($users[$widget_name]);
            }
        }


Also, please send me a PM with:
1. URL to your website
2. login and password of user with admin/super-admin privileges (please create one for me)
3. ftp data (host, user, password)
4. link to this thread

We will upload to your site a complete fix for this problem in few days.
User avatar
Moderator


cron