- duncan October 1, 2019 at 4:29 pm
Hi there,
When editing the typography, it seems like there is no option to edit h1 and h2 headings, so they default to raleway. Should this be visible in the custom typography section?
As well as this, the sizes of h1 and h2 are different on the staff pages from the other ones, not sure if this is a design decision?
Thanks,
Duncan
Juanfra Aldasoro October 2, 2019 at 4:54 pmHi Duncan,
Thank you for reaching out! I hope you’re doing well.
Would you please send me your site access details in a private reply? And also, comment where is that you don’t see the heading typography not taking the changes into account?
Best,
Juan.Juanfra Aldasoro October 3, 2019 at 3:40 pmHi,
Thank you for the follow-up. I see, I can confirm that these headings stay as Raleway. We’ll work on that.
In the meantime you can add the following CSS to fix that:
.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 { font-family: 'Roboto'; }
Please replace ‘Roboto’ with the font you are using. With regards to the logo, please be sure that you save the options and set the logo height to the height you’d actually want for the logo.
Best,
Juanduncan October 10, 2019 at 3:19 pmSorry, this reply didn’t come through with a notification.
I can add the CSS, but with the logo, when I set the correct size, it then stops being responsive. And the slider (under retina settings) seems to override everything.I’m not sure if that description makes sense?
Juanfra Aldasoro October 14, 2019 at 9:26 amHi,
Thank you for the follow-up.
Ok, so you can add the CSS and it’s working for you?
I don’t understand the comments related to the logo, would you please elaborate a bit more?
Best,
Juan.duncan October 30, 2019 at 2:55 pmOn the page /wp-admin/admin.php?page=nicethemes there are options for custom logo, custom logo (retina) and logo height.
I think these somehow interact with the options on /wp-admin/customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dnicethemes where it is only possible to select a logo.
Regardless of whether I have logo’s in either of these pages, it appears that the logo height slider always changes the size of the logo by squashing its height, not by scaling it.
There doesn’t seem to be a way to disable the logo height slider.
My theory is that whichever of the two pages you publish most recently remains active for the header. However, the slider always overrides the size which means that I can only have a logo with identical dimension to the height chosen in the slider.
Does that make more sense?
I have the three files PO LOGO_White_medium, PO-LOGO_White_large, and PimlicoLogoReallyBigWhite in the media folder for testing.
duncan October 30, 2019 at 2:57 pmSorry, additional followup, I now realise that Custom Logo on /wp-admin/admin.php?page=nicethemes is the same as logo on /wp-admin/customize.php?return=%2Fwp-admin%2Fadmin.php%3Fpage%3Dnicethemes.
Juanfra Aldasoro November 4, 2019 at 10:26 pmHi Duncan,
Thanks for the follow-up.
Would you please try replacing the file paeon/includes/theming/style.php with the following?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters<?php /** * Paeon by NiceThemes. * * This file contains functions to manage the custom styles for the theme. * * @package Paeon * @author NiceThemes <hello@nicethemes.com> * @license GPL-2.0+ * @link http://nicethemes.com/theme/paeon * @copyright 2014-2015 NiceThemes * @since 1.0.0 */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } if ( ! function_exists( 'nice_custom_styling' ) ) : add_action( 'wp_enqueue_scripts', 'nice_custom_styling', 8 ); /** * Add Custom Styling. * * @since 1.0.0 */ function nice_custom_styling() { global $nice_options; $output = ''; wp_enqueue_style( 'nice-options-styles', get_template_directory_uri() . '/includes/assets/css/nice-options.css' ); $nice_accent_color = get_option( 'nice_accent_color' ); if ( isset( $nice_accent_color ) ) { $output .= '/* Nice Custom Styling */'. "\n\n"; $output .= '#navigation .nav li:hover a, #navigation .nav li.current-menu-ancestor a, #navigation .nav li.current-menu-item a, #navigation .nav li.sfHover, .nav li ul, #top #navigation .nav li ul li a, ul.four-col-grid .thumb a, .nice-contact-form input[type=submit], input[type="submit"], #tabs .inside .tags a:hover, .flex-caption a.read-more, #header #top #toggle-nav, #navigation .nav li.current-menu-parent a { background-color: ' . $nice_accent_color . '; }' . "\n"; $output .= '#filter li a:hover, #filter li.active a{ background: ' . $nice_accent_color . '; }' . "\n"; $output .= '#footer .testimonials .feedback .feedback-url, a, body #sidebar .widget_nice_appointments h3, .home-block h3, .welcome-message h2 b, .welcome-message h2 strong, .welcome-message h2 span, .one-col-grid.service-grid .entry-title a,.page-head h1.entry-title, body.page-template-template-contact-php #content h3, span.required, .home-staff li .staff-deparment a:hover, body.single-staff .staff-info header h1, .nice-contact-form #node{ color: ' . $nice_accent_color . '; }' . "\n"; $output .= '.entry blockquote{ border-left-color: ' . $nice_accent_color . '; }' . "\n"; $output .= '.flex-caption p a{ border-bottom-color: ' . $nice_accent_color . '; }' . "\n"; } $nice_secondary_color = get_option( 'nice_secondary_color' ); if ( isset( $nice_secondary_color ) ) { $output .= '.call-number{ color: ' . $nice_secondary_color . '; }' . "\n"; $output .= '#commentform input[type="submit"], #footer-widgets .textwidget .read-more-link, #nice_appointment input[type="submit"], .button-bg{ background: ' . $nice_secondary_color . '; }' . "\n"; } $nice_header_background_color = get_option( 'nice_header_background_color' ); if ( isset( $nice_header_background_color ) && $nice_header_background_color ) { $output .= '#header { background-color: ' . $nice_header_background_color. '; }' . "\n"; $output .= '@media screen and (max-width: 1024px) { .has-slider #header { background-color: ' . $nice_header_background_color . '; } }' . "\n"; $output .= '@media screen and (max-width: 1366px) { body.iphone.has-slider #header { background-color: ' . $nice_header_background_color . '; } }' . "\n"; } $nice_header_background_image = get_option( 'nice_header_background_image' ); if ( isset( $nice_header_background_image ) && $nice_header_background_image ) { $output .= '#header { background-image: url(' . $nice_header_background_image . '); }' . "\n"; } $nice_header_background_image_position = get_option( 'nice_header_background_image_position' ); if ( isset( $nice_header_background_image_position ) && $nice_header_background_image_position ) { $output .= '#header { background-position: ' . $nice_header_background_image_position . '; }' . "\n"; } $nice_header_background_image_repeat = get_option( 'nice_header_background_image_repeat' ); if ( isset( $nice_header_background_image_repeat ) && $nice_header_background_image_repeat ) { $output .= '#header { background-repeat : ' . $nice_header_background_image_repeat . '; }' . "\n"; } $nice_logo_height = get_option( 'nice_logo_height' ); if ( isset( $nice_logo_height ) && $nice_logo_height != '' ) { $output .= '#default-logo, #retina-logo { height : ' . $nice_logo_height . 'px; }' . "\n"; $output .= '@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) { #header #top #logo #retina-logo { height : ' . $nice_logo_height . 'px; } }'; } if ( isset( $nice_options['nice_header_background_color'] ) && isset( $output ) && $output != '' ) { wp_add_inline_style( 'nice-options-styles', apply_filters( 'nice_inline_styles', $output ) ); } } endif; Best,
Juan.duncan November 5, 2019 at 3:54 pmIt still just follows the slider, I’m afraid.
I am looking at it on a retina screen on a macbook. I don’t have a non-retina screen to hand, to recheck there.
Can you see what I mean from inside the settings?
Juanfra Aldasoro November 5, 2019 at 5:36 pmHi,
Thank you for the follow-up.
No, I couldn’t log in to your site with the access details you shared.
Best,
Juan.
You must be logged in to reply to this topic.