Luke Stacey
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Woocommerce and VirtueHi there!
In the example given you could try altering this code:
.product_item .product_details h5 { min-height: 35px; }The min-height was previously set to 120px.
You have two options when using this code:
#1 Use a plugin like Simple Custom CSS and paste the code in there.
or
#2 If you are planning on making a number of changes create a child theme and paste the code in the child theme’s style.css file.
I hope that helps!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: [Arcade Basic] Child theme doesn't workHi there!
I’ve just created a child theme of arcade basic and I’m not having the problems you described.
Did you follow these steps when creating your child theme?
1. Create a new folder in the themes directory called arcade-basic-child
2. Create a style.css file within that folder containing the following code:
/* Theme Name: Arcade Basic Child Description: Arcade Basic Child Theme Template: arcade-basic Text Domain: arcade-basic-child */3. Create a functions.php file within that folder containing the following code:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }4. Activate your child theme (Appearance -> Themes)
You can read more about child themes here or watch a tutorial here.
I hope that helps!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: Insert home page text into blog home page set upHi there!
You could create a child theme and copy the home-slideshow.php file into your child theme directory.
In this file you could hard code in the html of the text you want to display and style it using CSS.
To remove the ‘Home/Blog segment on the front page of the site you could copy the front-page.php file into your child theme and remove this line of code:
get_template_part('home','blog');I hope that helps a bit!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: [Gravit] Removing Whitespace?Hi there!
Yes, it does matter where you place it. You should not place it in your theme’s style.css file.
There are two options:
#1 Use a plugin like Simple Custom CSS and paste the code in there.
or
#2 If you are planning on making a number of changes create a child theme and paste the code in the child theme’s style.css file.
I hope that helps a bit ! 🙂
Forum: Themes and Templates
In reply to: [Sixteen] Sixteen child theme???Hi there!
I just tried setting up a child theme and its working just fine without the issue you mentioned.
Perhaps take a look at this documentation:.
@import should not be used to import the parent stylesheet into the child theme. The correct method is to use wp_enqueue_style() to enqueue the parent stylesheet, using this code in your child theme’s “functions.php”. You will need to create a functions.php in your child theme’s root folder. Right at the start, on the first line, you should add an opening php tag. All other code will follow after this opening php tag
<?php add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array('parent-style') ); }and see if that works.
I hope that helps!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: Child Theme HeaderHi there!
That’s no way to be treated by your 3rd party. Changing the color of the header and footer should be a simple task, not an expensive one!
Is this what you are trying to achieve : Screenshot ?
If so, see if you can find these declarations:
#headerwrapper (line 1040 in your memorable child theme style.css file) replace the background color with your HEX code so it looks like this:
#headerwrapper { background-color: #4f1161; }#footer-widgets (line 125 in your memorable child theme style.css file) replace the background color with the HEX code so it looks like this:
#footer-widgets { background-color: #4f1161; background-image: url("image/footer-tile.gif"); background-position: 0 0; background-repeat: repeat-x; font-size: 0.84em; padding: 20px 0 0; }I hope that helps a bit 🙂
Luke the Daft Duke
Forum: Themes and Templates
In reply to: Do I need a child theme for my customization ideas?Hi there!
Since you will be making quite a few changes to your site it sounds like you would be better off with a child theme.
Also, I think it’s much easier to organize this that way, especially when you have a bigger project.
You can read about child themes here, or watch a tutorial here.
I don’t think there will be ‘less coding’ with either theme. Better to stick with your design choices and make it work.
When you get started you can always post further questions here and we can suggest CSS. Also, if you buy a premium theme you will probably get tech support as part of the package.
I hope that helps and good luck to you! 🙂
Luke the Daft Duke
Forum: Themes and Templates
In reply to: [Gravit] Removing Whitespace?Hi there!
Perhaps this will do the trick :
.page { margin-top: 0; }If that’s too close you could increase the margin to 20px.
Give it a try 🙂
Luke the Daft Duke
Forum: Themes and Templates
In reply to: [Gravit] Removing Whitespace?You have two options:
#1 Use a plugin like Simple Custom CSS and paste the code in there.
or
#2 If you are planning on making a number of changes create a child theme and paste the code in the style.css file.
It’s better not to alter the theme files as the changes will be overridden when the theme updates.
Good luck! 🙂
Forum: Themes and Templates
In reply to: [Gravit] Removing Whitespace?Hi there!
I think this should do it for you:
.bio-avatar { display: none; } .page-template-page-aboutme-php .bio-avatar { margin-top: 0; }You should try pasting this code in your theme’s custom css area or in your child theme’s style.css . You can read about child themes here.
I hope that helps!
Luke the Daft Duke
Hi,
You have to paste the code in your theme’s custom css area (perhaps here – Appearance -> Theme Options) or in your child theme’s style.css .
You should not paste the code in the parent themes style.css file.
I hope that helps.
Luke the Daft Duke
Forum: Themes and Templates
In reply to: How to make new pages responsive for mobile devicesHi there!
I think this is the code you are looking for. It will hide the featured image on the posts.
.single-post .featured-image { display: none; }You’ll need to paste that code in your theme’s custom css or child theme style.css – you can read about child theme’s here.
I hope that helps!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: Change the background color of a drop down menuHi there!
I think this is the piece of code you are looking for:
Background Color:
.sf-menu ul { background: none repeat scroll 0 0 #COLOR CODE HERE; }Font Color:
#nav-main ul.sf-menu ul li a, #nav-second ul.sf-menu ul li a { color: #COLOR CODE HERE; }Paste this CSS into your custom CSS or child theme style.css (You can read about child themes here)
I hope that helps!
Luke the Daft Duke
Forum: Themes and Templates
In reply to: How to add wordpress blog in my wordpress websiteHi there!
If you post a link to your site we can take a look and try and help you out.
🙂
Luke the Daft Duke