roncarletonaudio
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Arcade Basic] How to change font size size & hover colors wide?Hey CrouchingBruin,
Thanks for the reply. I guess I should have elaborated. I have created a child theme already and yes that is where I am making my changes. I have been using firebug to locate the code and making the appropriate changes in the child theme. It has been working great for most of the changes but I cannot locate the code to change the font size site wide including the main menu (other than the homepage, there are blocks set up on the homepage with different size fonts and those pulled up right away and was able to make changes) but on the rest of the pages throughout the site, firebug is only showing font style and color, I cant locate the font size for some reason. Same with the font hover color for hyperlinks and the button hover colors. Ive scrolled through style.css to see if I locate the code but dont see it.
What I mean by the html editor was since I couldnt find the font size in firebug or style.css I could just change the font size in the editor but those are not ideal size options and do not help me with the button hover color and header sizes either so it was just a less than ideal solution.
Im looking at the tutorial you linked to… so if I want to change the body and header font size site wide (excluding homepage) then all I need to do is paste this code in the child theme’s style.css, change to the size I want instead, and it will override the current font size? I dont actually need to locate the code myself in the parent theme? I was under there impression that each theme was coded a little differently so I needed to find the exact code for the theme im using.
h1 {
font-size: 40px;
}h2 {
font-size: 30px;
}p {
font-size: 14px;
}Thank you very much for the help!!
Forum: Themes and Templates
In reply to: [Arcade Basic] How to remove side bar from homepage only?You as well!
Forum: Themes and Templates
In reply to: [Arcade Basic] How to remove side bar from homepage only?Awesome, that took care of both the side bar and the button. Thanks a lot Bojan!!
Is there a way to tag dunkleywayne since he was the one who posted the instructions?
Im trying to remove the side bar from my homepage only and I have a blank page created for my homepage in Settings->Reading->Front page displays & I understand step 2 & 3, but not sure about step 1. How do you assign the class homepage to the homepage? I’ve added the header.php to my child theme and looked through it for that code, but not seeing it… help? Thanks so much!
Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade BasicOk, I think I confidently understand. Thanks so much for you patience and answers!
Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade Basichaha… I tried to use the block quotes, fail!
Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade BasicI didnt know they had a built in specialty function. Where’s it at? I just searched on here for it and found an article that gave some hook examples but Im not sure if thats what I need to use, this looks like it might be correct except the header on my editor-style.css file has really limited info. It says its only used to style the TinyMCE editor. The TinyMCE editor is the html editor on in the wordpress admin correct? And this is basically to add extra features to use in the there only, nothing to do with the front end of my website (well other than what will appear on there from using the html editor…)
Example Hook:
/**
* Proper way to enqueue scripts and styles
*/
function theme_name_scripts() {
wp_enqueue_style( ‘style-name’, get_stylesheet_uri() );
wp_enqueue_script( ‘script-name’, get_template_directory_uri() . ‘/js/example.js’, array(), ‘1.0.0’, true );
}add_action( ‘wp_enqueue_scripts’, ‘theme_name_scripts’ );
editor-style.css
/*
Theme Name: Arcade
Description: Used to style the TinyMCE editor.
*//* =Import Google Fonts
————————————————————– */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700|Railway);/* =Normalize.css v2.1.3 | MIT License | git.io/normalize
————————————————————– */Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade BasicOh wait, Im a little confused… so to enqueue editor-style.css, do I need to add the entire snippet of code like I did for the style.css
add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );
}and replace
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
with
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/editor-style.css’ );
directly underneath the style.css enqueue snippet on the .php?
And then just to clarify, for any .php file I want to edit, i need to make a new identical file in the child theme, copy and paste the entire code over and make my changes there or just the snippets of code I am wanting to change? Thanks again! Sorry for additional questions. So simple yet so foreign when you have never done it before 🙂
Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade Basic@stephencottontail Thank you very much!!
Forum: Themes and Templates
In reply to: Need help creating child theme for Arcade BasicUpdate: So several hours later the pages I created started appearing in the child theme, and then a couple more hours later the main menu & page header images started appearing. The changes I had made in the theme’s customizer did not appear though, I had to go in there and redo those. I am assuming that is because I did not create a customizer.php file in the child theme?? Not sure why the pages and menu started showing up in increments several hours apart though, odd! I even cleared my cache immediately after creating the child theme and that did not seem to help…
There are several other .php files I will be making edits to in the near future, eg: the footer.php, frontpage.php, image.php etc… and possibly another .css file (editor-style.css). If I understand correctly, all changes I will be making to these files I will be entered into the child theme’s function.php file, correct? But before I do that, I need to create files in the child theme for each of the files I am editing and on top of that, in the functions.php file I need to enqueue them, correct?
If thats the case, what enqueue code do I need to enter into the functions.php file? The same code I used for the style.css file or will it vary depending on each file? I am brand new to wordpress and although I understand the concept of the child theme and enqueue code, I am clueless as to what exactly I need to add for each extra file.
I would also like to create files for individual page changes as well so I can make changes to any particular page instead of site wide. How would I go about doing that?
Thanks so much in advance for you help!
Forum: Themes and Templates
In reply to: [raindrops] How to remove comment section on selected pagesYou’re welcome!
Forum: Themes and Templates
In reply to: [raindrops] How to remove comment section on selected pagesI just went through this same issue. In the admin area, go to one of your pages and then in the top right corner there is a “screen options” button. Click that and it will drop down some extra page options. You can either uncheck the comments box OR check the discussion box. I recommend checking the discussion box because when you do, if you scroll down towards the bottom of the page you will see a new area called discussion and there will be two options you can check or uncheck. The first one is “allow comments” uncheck that one. The second, “allow trackbacks and pingbacks on this page”, keep that one checked. That way people can link back to your page still and it helps with you SEO back links. You will have to do that for every page you want to remove comments on, not sure how to adjust the code so by default the comment section is automatically disabled. Hope that helps!