simplethemes
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Smpl Skeleton] smpl-skeleton callout shortcodes won't floatGlad you got it resolved.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Change Color of Callout Title in ShortcodeThe smpl-shortcodes.css is loaded by the and accepts several parameters, for example:
[callout style="black" title="yourtitle" centertitle="true" align="center"]Content Box Content...[/callout]
So, if you’re just displaying the default callout with no style parameter, then it defaults to the white style. So you should just add the following to your theme’s CSS:
.st-callout.white h4.st-callout-title { color: blue !important; }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Changing FontsHi, ellp is correct. If you set the font in the customizer to “Serif” and then add the rule he mentioned to your style.css file, it should not call fonts from Google.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] color of buttonsIf you can provide a link to your site I’ll be happy to help. My response would depend on what version you have installed and if the smpl shortcodes plugin is installed. In a recent update, I moved many of the button, tab, accordion styles to the plugin, so that would be a big factor.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] color of buttonsIn style.css look under:
/* @group Buttons */
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Useage of post formatsYes, anything is possible ??
https://codex.www.ads-software.com/Post_FormatsYou could add the post formats you want to use to your child theme’s functions.php.
add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );
That example above merely adds the icon to the sidebar when adding/editing a post.
To actually do something with the post format, you’d need to make the decision as to what it does.
In your single.php, index.php, page.php or wherever you want to use it, you could add:
if ( has_post_format( 'gallery' )) { //do something different here for gallery post types }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Resizing site-title when browser resized.Hi, If you look at css/layout.css you’ll see a media query you can override in your style.css like so:
/* Anything smaller than standard 960 */ @media only screen and (max-width: 959px) { #wrap #header #site-title a { font-size: 60px !important; } }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Featured image locationHi JonnyTech,
If you’ll look at the parent theme’s functions.php file you’ll see skeleton_thumbnailer(). You can override this in your child theme to customize the featured image display wherever you like. (you probably just need to change alignleft to alignright).
If you have a more specific request, just let me know.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Extra Header Area?Just let me know if I can be of any further help.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] size of the headlineHi, I believe this was a removed setting in order to rely less on the customizer (which yields inline CSS) and to impose less restrictions from a customization/child theme standpoint.
At any rate, the CSS found in style.css can be overridden from here.
If you’re using the child theme (which I hope you are), you can just copy those rules or add your own to your child theme style.css (after the @import):
Here’s a starter for you:
/* *------------------------------------------------ * Header Customizations *------------------------------------------------ */ /* Text Header */ h1#site-title { /* reduce the font size and tighten vertical spacing */ font-size: 28px; line-height: 1; } h1#site-title a { /* change the color of the header text link */ color: red !important; } #header h1#site-title a:hover { /* change the hover color of the header text link */ color: green !important; } /* Text Header Tagline */ #header span.site-desc { /* reduce the tagline font size and tighten vertical spacing */ font-size: 18px; line-height: 1; /* change the tagline color */ color: purple !important; }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Removing menu right "margin"It looks to me like there are different media queries for each breakpoint – which is possible with skeleton. Something like:
/* Anything smaller than standard 960 */ @media only screen and (max-width: 959px) { #navigation ul li a {padding: 15px 20px;} } /* Tablet Portrait size to standard 960 (devices and browsers) */ @media only screen and (min-width: 768px) and (max-width: 959px) { #navigation ul li a {padding: 15px 30px;} }
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Add/Remove data from Footerfunction my_footer() { $footer_extras = skeleton_options('footer_extras'); $extras = '<div id="credits">'; $extras .= $footer_extras; $extras .= '<div class="themeauthor">My Text</div>'; $extras .= "</div>"; return $extras; } add_filter('skeleton_author_credits','my_footer');
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Removing menu right "margin"If you don’t perfectly fill up the menu bar, I can see how that could be perceived.
What you can do is edit style.css (Appearance → Editor) and find this line;
#navigation ul li a { background-image: none; padding: 15px 20px; text-decoration: none; display: block; font-weight: bold; text-shadow: 1px 1px 0px #fff; }
Change
padding: 15px 20px;
to something likepadding: 15px 30px;
until the menu fills out.Forum: Themes and Templates
In reply to: [Smpl Skeleton] Extra Header Area?It sounds like a simple CSS fix. If you can share a link I’ll be glad to take a look.
Forum: Themes and Templates
In reply to: [Smpl Skeleton] Extra Header Area?Can you try placing this at the end of your functions.php file:
https://pastebin.com/raw.php?i=PYgzYBWrfunction st_header_extras() { $extras = '<div class="alignright"><form action="https://www.google.com" id="cse-search-box">'; $extras .= ' <div>'; $extras .= ' <input type="hidden" name="cx" value="partner-pub-4485302719237249:8339840292" />'; $extras .= ' <input type="hidden" name="ie" value="UTF-8" />'; $extras .= ' <input type="text" name="q" size="35" />'; $extras .= ' <input type="submit" name="sa" value="Search" />'; $extras .= ' </div>'; $extras .= '</form></div>'; $extras .= '<script type="text/javascript" src="https://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script>'; echo $extras; } add_action('st_header','st_header_extras', 2);