Bernhard
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [EasyBlog] Header Image not responsiveHello.
You can reduce the height of your header or make the background image bigger with “background-size” and align it with “background-position” within a media query, for example:@media all and (max-width: 900px) { /** Your code ... */ }
- This reply was modified 8 years ago by Bernhard.
Forum: Themes and Templates
In reply to: [EasyBlog] Header Image not responsiveHello Michael,
are you familiar with CSS?
There is a rule which overrides your background image in theme “easyblog” file “style.css” on line 1312.@media all and (max-width: 1200px) { .dt-header { background-image: none !important; } }
Maybe you can create a child theme, copy the Styles and remove this media query?
Hope that helps.Forum: Fixing WordPress
In reply to: ErrorHello marleness,
there is an syntax error in your “search.php” file.
Maybe you try to create a new instance of a class in a wrong context.Can you post some code from “twentyfourteen_child/search.php”?
Forum: Themes and Templates
In reply to: Custom Post Type CategoriesHello,
you still have to register your taxonomies:
<?php /* Food post type for menu */ function create_food_post_type() { register_post_type( 'food', array( 'labels' => array( 'name' => __( 'Food' ), 'singular_name' => __( 'food' ), ), 'rewrite' => array( 'slug' => 'food', 'with_front' => true ), 'public' => true, 'has_archive' => true, 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields'), ) ); flush_rewrite_rules( false ); register_taxonomy( 'food-category', 'food', array( 'label' => __( 'Categories' ), ) ); } add_action( 'init', 'create_food_post_type' ); /* Branches post type */ function create_branch_post_type() { register_post_type( 'branches', array( 'labels' => array( 'name' => __( 'Branches' ), 'singular_name' => __( 'branch' ), ), 'rewrite' => array( 'slug' => 'branches', 'with_front' => true ), 'public' => true, 'has_archive' => true, 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields'), ) ); flush_rewrite_rules( false ); register_taxonomy( 'branches-category', 'branches', array( 'label' => __( 'Categories' ), ) ); } add_action( 'init', 'create_branch_post_type' );
Forum: Themes and Templates
In reply to: Custom Post Type CategoriesHello drinkingsouls,
maybe you are using the same name for both taxonomies when you register it?
Check the first parameter fo your “register_taxonomy()” calls.
I think if they are equal in two or more calls there will be a conficlt.register_taxonomy( 'prefix-category', 'post-type', array( 'hierarchical' => true, 'label' => __( 'Categories' ), 'rewrite' => array( 'slug' => 'prefix-category' ) ) );
Read more about “register_taxonomy()”
Hope I could help you.
Forum: Themes and Templates
In reply to: Ultra theme footerHello Tricia B,
which browser you are using?
The rule for the background color is on the body-tag “https://www.pilgrimfurniture.co.uk/wp-content/themes/ultra/style.css?ver=4.5.2” line 528.
Does that help you?
Hello ratul,
I can confirm the problem,
after I applied your code it works.Good workaround until the next update.
Thanks.Forum: Themes and Templates
In reply to: [Virtue] How to make an image to a clickable button?If you uploaded it and inserted it via the editor you can just select it in the editor and click on the pen to edit it. Then you can choose “Link to”.
If you inserted it via code you can wrap it with an a-tag:
<a href="https://mungbeansusa.com/path/to/site/"> <img src="https://mungbeansusa.com/wp-content/uploads/2016/05/order_nowbtnsmall-2.png" alt=""> </a>
Does this help?
Forum: Themes and Templates
In reply to: [Virtue] How to make an image to a clickable button?Hello Mickle Berra,
which image do you mean on your site and how do you insert it (Editor or Code)?
Forum: Themes and Templates
In reply to: Disable commentsHello chayleen,
if you disable comments in your settings,
and comments are already added,
you also have to disable comments for every post or page which has comments: You can click “Quick Edit” under the post title in the admin menu and disable it.If comments still appear, you also have to remove it in your template.
Maybe it is easier for you to try a plugin? https://www.ads-software.com/plugins/disable-comments/Hope I could help you.
Forum: Themes and Templates
In reply to: Can't get 3 column portfolio items to 33.333%Your elements also have an element style which makes your articles positioned absolute. This could also be the problem, guess this comes from the JS Library Isotope. Maybe it is possible to deactivate it?
Forum: Themes and Templates
In reply to: Can't get 3 column portfolio items to 33.333%@mrtom414
Changing the margin has effect:
content-box: width = content
border-box: width = content + padding + borderThe width and height properties include the padding and border, but not the margin.
from https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing
Also take a look at this picture:
https://www.zell-weekeat.com/wp-content/uploads/2014/02/box-sizing.jpgForum: Themes and Templates
In reply to: Can't get 3 column portfolio items to 33.333%Hello,
“border-box” is already set.
Try this:
#content .portfolio-columns-3 article { width: 33.333%; margin-left: 0; margin-right: 0; }
Forum: Themes and Templates
In reply to: Can't get 3 column portfolio items to 33.333%Hello marsten,
without looking at your code, presumably, the boxes have a margin?
So if you have 3 boxes and every box is 33.3 %, with the margin on each side the box neeeds more space and can not be display side by side.If setting “margin: 0;” does not work, also try “margin: 0 !important;”.
Hope I could help you.
Forum: Themes and Templates
In reply to: need code help with media screen for desktop viewHello Mike,
the link texts in the sub menus are wrapped with
span
elements and use the rule#header .header-links .sub-menu a
(line 827 in “style.css”) with a font size which seems to overrule your rules.
Try this:.sub-menu a span { font-size: 16px; }