I'm creating a child theme of Quality (https://wordpress.org/themes/quality/). I´m using the Business Template for the main page.
These are the sections of the template in Quality:
And these ones are the sections of my child theme:
As can be seen, most of the sections disappeared in the child theme.
How can I use those sections in my theme?
Seems like theres something thats already added when you are using the Quality template, which isn't activated in your child theme.
Isn't there some kind of setting page, where you can enable stuff like this?
Maybe under "Appearance" in the wordpress backend menu.
I had not found any option to change that in the menu before post my question.
It does not seem to be a WordPress problem, but theme problem
Related
I'm using child mylisting theme on wordpress , is there any way to add a button so that my changes appear on all listing pages between content.
when adding the button shows like this
any way to add button in content area.
Easiest way is to use child theme. You can then copy across the appropriate template and add in the code for the button.
It sounds complicated but it's really quite simple. It's all explained in the theme documentation:
https://docs.mylistingtheme.com/article/installing-child-theme/
I have a question which I never figured out. If I bought template, lets say Avada or Enfold. How do I customize css? Should I change in css files how I want or there is better way? I saw many websites using avada or enfold in source code, but the website looks way different than original. Which way is best to customize template? Change headers,footer and etc..
The best way to customize your theme is Child Theme. You can do it on your own. Thanks to that you will be sure that you don't modify original files but only something like "copy" which overwrite your original files.
Avada Theme actually has it built-in. After purchase you will receive Avada_Full_Package with a original theme and his child.
One sentence from Avada's documentation: "Always use a child theme if you are modifying core code. "
More information about Avada Child Theme:
https://theme-fusion.com/documentation/avada/special-features/avada-child-theme/
More information about Child Themes and DIY in WordPress Codex: https://codex.wordpress.org/Child_Themes
I had to create a custom page borrowing the Divi theme code in order to use my shopping carts include file. The problem is the responsible WP menu will not work on the custom pages.
Is there are anyone who has had this issue who could help? It seems like the problem is in the page container and its overlapping the menu - but am struggling to pin point the problem.
Link to a test page: https://hookedonsunshine.co/products2.php
I am using woocommerce for the first time and have searched for answers to this question for hours now. Found none. I'm exhausted and really grateful if someone wishes to help out.
I am using woocommerce on a self-created child theme. The main shop page uses a theme-template called "page-left-sidebar", which normally places the sidebar with widgets to the left of the page. This option would look good in the web shop that I'm trying to create.
But Woocommerce templates override my custom templates, and although I get the correct "page-left-sidebar"-template's sidebar widgets, I see with my eyes and also when investigating with firebug, that woocommerce is calling the "page-right-sidebar"-template's main & sidebar css rules instead those of the left-sidebar-template. The page-right-sidebar is the default page template in my theme, as it happens.
I have tried editing woocommerce's "archive-product.php" -page. But I just cannot understand, where and how to tell the div's to be situated where I want them to.
My theme's default "page.php" and "page-left-sidebar.php"-template are identical. Only the template's name (obviously) changes. In my "style.css" I have rules both for default sidebar (sidebar to the right) and page-left-template-sidebar.
What files should I edit and how?
To display sidebar on the left, the style.css file should have property float:left for that section
Found a workaround... I still don't understand how the default templates work, but I've tried until I give up. I just hard-coded a div style="right;" in the archive-product.php, closing the div just before the sidebar commanding lines. It's crude, I know, but it seems to do the trick.
I'm working on my first WordPress project. It won't be a blog but a CMS to quickly edit content and pages on the site.
I've got the header and footer exactly how I want it by editing them in the Appearance -> Editor menu. Under this menu I see quite a few templates that I could use (screen shot http://i.stack.imgur.com/P7IyY.png), some of which I don't even think I'll need or know where they came from. However when I edit my pages and go to the Page Attributes section there is only an option for 1 template (screenshot http://i.stack.imgur.com/UblzD.png). If I select Default Template as my template for the page, only the header and footer seem to load.
I am pretty new to WordPress. Am I suppose to 'activate' these templates somewhere? I only plan to use a handful of them (index pages, contact pages with a sidebar). What am I missing?
Thank you!
You should take a look at the information posted in the WordPress Codex on template files and the like. This image is particularly helpful in getting an understanding for when certain files are used by the WordPress engine to render pages WordPress Template Files Diagram.
You'll find the rest of the information relating to that diagram on this page.
I experienced this issue when using a child theme. I added a new template file to the child theme but the "templates" dropdown did not show on the page options section of any of my pages. I checked and double-checked the formatting of the template file and that was not the issue.
It turns out that my styles.css document in the child theme was not formatted properly and was missing the "template" attribute that designates the parent theme being extended with the child theme. I update the child theme css document to reference the parent template and voila! The template dropdown showed as expected.