zeaks
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Sparkling] editing widget areaNot sure about this theme in particular but usually you can edit the widget function in functions.php. Best to create a child theme to do it and modify it there.
Something like this
'before_widget' => '<aside id="%1$s" class="widget %2$s panel panel-default">', 'after_widget' => '</div></aside>', 'before_title' => '<div class="panel-heading"><h4 class="widget-title panel-title">', 'after_title' => '</h4></div><div class="panel-body">', ) );You will need to remove the widget area then add it back in the child theme.
This explains how to remove it
https://codex.wordpress.org/Function_Reference/unregister_sidebarYou can copy the function in your theme to add it back.
Forum: Themes and Templates
In reply to: [Bootville Lite] Android & Apple MobileThe menu issue was caused by a corrupt JavaScript file. If anyone else happens to have this problem download a new copy of bootville lite and it should fix it.
Forum: Themes and Templates
In reply to: [Bootville Lite] Android & Apple MobileThe Youtube problem is a known issue I’ll fix it in an update soon. You’ll need to edit the style.css to fix it.
Search for this block of code
/* Make sure embeds and iframes fit their containers */ embed, iframe, object, img { max-width: 100%; height: auto; }Remove iframe, from it and your videos should fit properly.
Usually a CSS change would be added to the child theme but because I’ll be fixing this in the update it won’t matter and any fix will be useless in the child theme after the update.
Your mobile menu isn’t working at all, even in a browser when resizing the site. It’s probably an issue with a plugin. Try disabling your plugins and resize the browser to see if the menu works.
Forum: Themes and Templates
In reply to: [Bootville Lite] Grey bordersTo remove the border around the header image add the following to your child theme
.header-image { border: none; padding: 0; }The borders around the sidebar items are added by Bootstrap. You can remove them by removing the panel-default class in the widget section of functions. Alternatively you should be able to use CSS to remove the border, this should do it.
#secondary .panel-default, #secondary .panel { border: none; box-shadow: none; }Forum: Fixing WordPress
In reply to: Blog page change page templateThanks Michael this explains alot, I don’t know how I’ve never run into this before
Forum: Themes and Templates
In reply to: Remove required file in child themeThis had to do with the theme customizer and extending existing options. I ended up removing the functions the file contained then adding them back the way I needed using custom functions.
I wrote an article on adding generic icons to twenty twelve where I had to do something the same by adding the meta function and customizing it in a child theme http://zeaks.org/use-genericons-with-twenty-twelve-theme/
Some functions can be copied to the child theme and customized like the meta in 2012, and some need to be removed then added back in the child theme like twenty twelve fonts
Forum: Plugins
In reply to: [Mivhak Syntax Highlighter] Highlight and bbpress issueHi, yes adding an option to select a default language when none is added would be great, otherwise I’ll need to go through all of my posts and change the tags.
As for bbPress, I did try other color schemes clouds included but they all looked the same. You said this is because of the bbPress CSS but the last version worked fine, what has changed that the plugin CSS doesn’t override the forum css?
Forum: Fixing WordPress
In reply to: Add class to widget contentJust adding the class to the end of after_title, then the closing div to after_widget but before the closing div of before_widget worked, unless there is no title choosen such as no title for the search widget.
I removed the closing div I added and it works…even though it should be missing a div for <div class=”panel-body”> it’s not in the html. >.<
'before_widget' => '<aside id="%1$s" class="widget %2$s panel panel-primary">', 'after_widget' => '</aside>', 'before_title' => '<div class="panel-heading"><h4 class="widget-title panel-title">', 'after_title' => '</h4></div><div class="panel-body">',Seems too be working, marking it as resolved.
Forum: Themes and Templates
In reply to: Stylesheet ordering in child themeFigured this out with the help of this article. Guess I’ve just never run into this problem before.
http://mor10.com/challenges-new-method-inheriting-parent-styles-wordpress-child-themes/
Forum: Plugins
In reply to: [CPT Bootstrap Carousel] Image resizing on mobileI added a new image size to the theme, ran a rebuild thumbnails plugin and set the slider to use the new image size and it’s resizing perfectly now.
Thanks
Forum: Themes and Templates
In reply to: Navigation bar width – Twenty ElevenI’m guessing you changed the 100% width to 90%, and also assuming you did not change the max width of the site from 1000px.
If that’s correct then try this
#access { margin: 0 auto 6px 5%; max-width: 900px; width: 90%; }This will set a max width of 10% less than 1000px, and use 5% for a left and right margin.
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Transparent background in post contentLooking at your child theme style.css now and it looks like you have the entire twenty Fifteen CSS added to it which is not needed at all.
This is all that should be in your child theme style.css (unless you’ve made other CSS changes)
Change the child theme name, author etc to whatever you want.
/* Theme Name: Blank Twenty Fifteen Child theme Theme URI: http://yoursite/yourtheme Description: A child theme of 2015 default WordPress theme. Author: Your Name Author url: http://yoursite.com/ Version: 1.0 Tags: black, blue, white, fixed-width, custom-header, theme-options Template: twentyfifteen */ /* transparent post background */ .hentry { background-color: transparent !important; }This is all that should be in your functions.php (unless you have other functions you need)
<?php //Import parent styles add other stylesheets if necessary. function wpchildthemes12122_enqueue_child_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_action( 'wp_enqueue_scripts', 'wpchildthemes12122_enqueue_child_styles' );Here’s a bit of reading to understand how child themes work and what to add and not add to them. http://codex.wordpress.org/Child_Themes
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Transparent background in post contentThis should work, add it to the CSS plugin or Child theme CSS.
I don’t like using !important but I think the theme customizer may override the class in a child theme in this case since it’s added after the other stylesheets in the header.
Since the dark color scheme has a color I would assume the other color schemes have #FFFFFF as the background color..hentry { background-color: transparent !important; }Forum: Themes and Templates
In reply to: Adding Space between an Ad and a WidgetThat would be added to your style.css I can’t say for sure it would work it was just an example, the html was a bit jumbled when I looked at it, but that’s basically how I would go about doing it.
Forum: Themes and Templates
In reply to: [Albar] Resize Heading Font SizeThe CSS for it is
.site-header-one .site-title a { font-size: 45px; font-weight: 500; text-transform: uppercase; }Use this to change the font size, change 45px to whatever you like
.site-header-one .site-title a { font-size: 45px; }