Search Results for 'child theme'

Results from the Forum
simchris
tagDiv Member

Check your site with GTMetrix.com and then follow all the suggests, in particular gzip/deflate, expiration headers, image optimization, remove versioning, minify your style.css, don’t use child theme, use fast server/hosting, remove all themes and plugins you’re not using except the latest twenty-fifteen theme, optimize your wp-config.php file to include absolute paths to your domain name, optimize font loading, limit loading external elements (e.g., social counters slow down page vs simple share buttons), limit number of ad networks (I’ve seen some people with six ad networks each loading java, css, and tracking code…. it’s ‘bloat’), use a local image for gravatars, etc.

I cover a number of these issues in detail in the sticky pagespeed thread. Look for my posts, and probably easier to go backwards from the end of the topic, vs from the start a year ago! 🙂

ajaffarali
Participant
#0

How can I make the theme go back to default settings? I’m thinking of using the child theme so want to switch the main theme to default and then start customising on the child theme.

makeshiftwings
Participant
#0

Is there anyway to override theme generated styling within the child theme stylesheet? For example, I am trying to change the border color of the menu for the current state. But, it looks like it’s being overridden by style compiled by the theme (within the theme settings color menu). Thoughts?

The color breakdown within the theme settings is very simple and doesn’t give you a wide range.

maxishere
tagDiv Member

Ah really, that’s good to know – thanks.

So I should really use Newspaper without child theme… How is best to deal with updates, considering the original code is altered slightly in places?

simchris
tagDiv Member

Might be one of your plugins conflicting with it.
Child theme if often the main culprit for Ajax gremlins, which is why I refuse to use them anymore; also a CSS redirect which Google suggests NOT doing.

maxishere
tagDiv Member

I tried this, followed the steps. It installs and you can see the latest version of VC, but the buttons (such as Add new Row, Add new element, settings cog) don’t work. Some javascript problem?

We use Newspaper as a child theme, would this make a difference?

Thanks.

Simon Noble
Participant
#0

Website

Question 1: On the homepage, I want to remove the dates from underneath the three headlines starting with Kenya…, Iraq…, and Raw:… which are utilizing Block 5.
But, I want to keep the dates underneath the articles on the other pages and on the posts, so I can’t just disable the “Show Date” option in the Theme Panel under the Post Settings, because, whilst that removes the dates from the homepage, it also removes the dates from here and here, which, I don’t want. How do I remove, or hide with CSS, the dates from underneath the three World News Headlines on the homepage?

Question 2: With your previous help (thanks), I’ve customized the “RELATED VIDEOS” heading viewable at the bottom of this post.How do I make the corners on the right hand side of the “RELATED VIDEOS” rounded like the corners on the left hand side?

Question 3: I’ve created a Video Sources page. I want to make the page heading have a black box with white writing like the World News heading on this page. Inserting a “Text with title” makes the heading I want appear but there is too much of a gap/space underneath then. Is there a specific html/css tag that I can enter to make the desired heading appear?

abuzzy
tagDiv Member

I also changed mine to 250×250 size, after that I created this rule in my child-theme style.css
Add this to your child-theme style.css and change the px size to suite your purpose.

.td-theme-slider.iosSlider-col-1 .td_module_slide {
height: 250px;
}
.td-theme-slider.iosSlider-col-1.td_mod_wrap {
height: 250px;

Alin [tagDiv]
tagDiv Staff

Hi,

Please make sure you are uploading the right .zip file because the .zip file you get is this: http://screencast.com/t/Q0SZ8ZUcTd which contains all theme files like ../plugins/a patch which you use to update from the previous version/ documentation/ licensing/ child theme… so this is not the right theme file you need to upload, this one is: http://screencast.com/t/OiXSsFHEj0

If you still have this issue, edit php.ini and search for the upload_max_filesize http://screencast.com/t/ZEunYQKA and make sure you save the file afterwards.
If you don’t have access to the php.ini file please contact the host administrator and let him know about this issue.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please make sure you are uploading the right .zip file because the .zip file you get is this: http://screencast.com/t/84AMeBeucuj which contains all theme folder/files like plugins, patch, documentation, licensing, child theme… so this is not the right theme file you need to upload, this one is: http://screencast.com/t/LeEQqLgTPUen

If you still have this issue, edit php.ini and search for the upload_max_filesize http://screencast.com/t/ZEunYQKA and make sure you save the file afterwards.
If you don’t have access to the php.ini file please contact the host administrator and let him know about this issue.

Thanks!

Lucian
tagDiv Staff

Hi,

You could try something like this: http://screencast.com/t/zZK2vlyw

.sf-menu .menu-item-has-children .sub-menu {
max-width: 90% !important;
}

Add this css code into custom css filed in theme panel.

Thanks

miss_rachael89
Participant
#0

Hi folks,

Could I make a feature request for future revisions that you wrap your class definitions for smart lists in particular with “class_exists” checks ?

I had need to make some adjustment to one of the smart list formats and its not trivial to override with a child class because the class files are loaded with require_once.

If they are wrapped to check if the class is already defined then I could simply include my versions in the child theme from functions.php without causing a PHP runtime error.

Would be super helpful, thanks !

Lucian
tagDiv Staff

Hi,

That code is used for the author box feature which you can use on the posts. We will investigate and fix it in future versions but we cannot remove it as others use it.
You can use the child theme to edit the file and remove that code in your case or edit the file after each update and remove it.
Sorry for the inconvenience!

Thanks for the message!

shiftanddrive
tagDiv Member

Found a solution…

I installed the Newsmag-child theme and copied two files from the bbPress installation into the child theme:

  • loop-single-topic.php
  • loop-single-forum.php

Both of these files can be found in wp-content/plugins/bbpress/templates/default/bbpress.

Paste both files into wp-content/themes/[child_theme_dir] where child_theme_dir = directory of your child theme, usually Newsmag-child unless you’ve made changes to the name of the theme.

In these two files are multiple references to size => 14.

  • bbp_get_topic_author_link function handles the avatars under the “Author” column (left-most column in forum index views).
  • bbp_get_topic_last_active_id function handles the avatars under the “Fressness” column (right-most column in forum index views).

I am sure there are more times when avatar sizes are being set by bbPress (and I will post them as I find them when I go through and do some cleanup). But, the best way to find them on your own is do a search for the CSS container for the avatar (ex: bbp-topic-freshness-author) in the bbPress template files. Once you find the template file, copy it over to the child theme and make your edits.

Pretty simple once you figure it out!

shiftanddrive
tagDiv Member

Hey,

After a little more digging, I think this should be called a bug.

If bbPress is truly supported by the theme, theme buyers shouldn’t have to do more customization in order for it to look as it should.

I did find one topic on the bbPress forums: https://bbpress.org/forums/topic/change-avatar-size/

Basically, in order to make the thumbnail itself bigger, we need the thumbnail to be defined in a template file as part of the main theme install. Since editing core files is a no-no (from a bbPress and theme perspective due to updates), the only way you can fix this (it seems, please correct me if I’m wrong) is to install the Newsmag-child theme, add the different bbPress template files, and edited the values in those newly copied template files.

Lukas
tagDiv Member

Oh nevermind, it took me few more minutes to figure out it was my child theme causing the problem, more specifically, the header.php + footer.php files.

Did all the modifications I needed to do to new files and it worked right away.

simchris
tagDiv Member

It works for me …. see: ga-ga.com ….

be sure you did a “clean” install of theme, and deleted old folder and uploaded new folder (don’t “over write”).

Also if using child theme, a LOT of things changed, so you may need to update child theme files if you didn’t do that.

ned4spd8874
tagDiv Member

@Lucian, it must be the child theme that’s doing it then. I’ve verified what you said, but it’s still not working. This NEEDS to be a feature of this theme. If I have to go back through all my posts then I better get compensated for my time due to this lack of functionality.

ned4spd8874
tagDiv Member

I’ve tried both but get an error when I try to put it in the child theme (Warning: Division by zero in /home/content/xxx/html/wp-content/themes/Newspaper-child/functions.php on line 5) I also even put the js file in both locations. So now the js file is in both child and parent but the code is only in the parent functions.php file.

BTW: I’ve manually set it on recent files so if you’re looking, you’ll have to find an older post (ex. http://aftercredits.com/2014/07/howard-duck-1986/)

historiek
tagDiv Member

Maybe it has something to dot with a child-theme.

In which functions.php did you add the code? In the one in folder ‘Newspaper’ or folder ‘Newspaper-child’?

Breakwater
Participant
#0

Hello,

I know I’m bugging you guys a lot. Two days to launch ><

I am writing a custom plugin for Newsmag-child so that I can make the plugin GeoDirectory work with it. I need to know a couple theme specific pieces of information.

  1. What div would you guys call the outer-wrapper? Is it div.td-container-border or div.td-pb-row ? The reason, the content currently spans the entire page like div.td-container does and I only want it to hook into the narrowed content space of the page for it to display in.
  2. What div would you guys call the content-wrapper? Is it div.td-pb-span8.td-main-content or is it div.td-ss-main-content ?
  3. What div would you guys call the sidebar-wrapper? Is it div.td-pb-span4 td-main-sidebar or is it td-ss-main-sidebar

Answers to these questions would be awesome. Thank you.

Marius
tagDiv Staff

Hi,
Is not possible to modify that file via Child theme, I’m sorry about that. Only those files can be modified via Child theme https://forum.tagdiv.com/child-theme-documentation/

We will try to improve this in future updates.
Thanks for understanding!

Lucian
tagDiv Staff

Hi,


@tonejarvis
Please make sure that you use the child theme provide with the latest theme files. I have also tested this and found no issue with it, should work fine.

Thanks

gossiponthis
tagDiv Member

You’ll need to create a child theme and then edit the “loop-single.php” file. If you’re familiar with coding, this should be a piece of cake, but if not, you might need to get someone else to look at it.

Documentation: https://forum.tagdiv.com/child-theme-documentation/

Lucian
tagDiv Staff

Hi,

If you can’t use the child theme to change the files you need you can do it manually and keep a log of you modifications like you’ve also noted and use the patch. Follow the theme changes log to see which files are modified and if the files which you’ve altered aren’t changed just copy the patch files via FTP.

Thanks

Viewing 25 results - 12,326 through 12,350 (of 12,866 total)