Homepage › Community Forums › Aspire Theme Support › Problem calling a font + couple of possible bugs
Hi,
Ive just updated to the latest version of the theme, comming from 1.0.
Before the update i had done some customising, mostly font usage, which i now need to redo.
Ive allready read you recommendations with regards to that and am putting customisations in the different file/folder now.
Ive run into a few problems though, which id like to share
1) Im using two custom fonts in my theme, Dosis light and Montserrat light. For some reason im not getting Montserrat to work, whereas it used to work fine earlier. Ive enqued it in the original functions.php as follows;
//* Enqueue Scripts
add_action( ‘wp_enqueue_scripts’, ‘aspire_enqueue_scripts_styles’ );
function aspire_enqueue_scripts_styles() {
wp_enqueue_script( ‘aspire-fadeup-script’, get_stylesheet_directory_uri() . ‘/js/fadeup.js’, array( ‘jquery’ ), ‘1.0.0’, true );
wp_enqueue_style( ‘google-fonts’, ‘//fonts.googleapis.com/css?family=Dosis:200,300,400’, array(), CHILD_THEME_VERSION );
wp_enqueue_style( ‘montserrat-light’, ‘https://allfont.net/allfont.css?fonts=montserrat-light’, array(), ‘1.1.0’ );
wp_enqueue_style( ‘dashicons’ );
wp_enqueue_script( ‘aspire-global’, get_bloginfo( ‘stylesheet_directory’ ) . ‘/js/global.js’, array( ‘jquery’ ), ‘1.0.0’ );
2) I cant get featured image section 12 to work
3) changing the accent colour changes the colour of links and buttons but doesnt change the colour of highlighted menu items. Is that intended?
4) I have noticed before that changing the submenu font to montserrat did not trasnfer over to the submenu in reponsive layout. Neither did the transform uppercase work.
(allthough the font isnt working atm you can see the uppercase doenst tranfer over from regular to responsive style)
5) in the new homepage content section underneath the widgets theres no spacing around the text in responsive mode (mobile phone)
6) lastly, is there a way to recieve update notifications? 馃檪
Best regards,
Bart Alders
https://tandarts-haarlem.nl
font problem is resolved,
allfonts doenst allow https connections which my website requires.
Had forgotten i had run into that problem before and worked my way around it by linking to google fonts, even though they dont serve the weight of the font im looking for
Hi, In the future, can you please create separate threads for each topic/questions as mentioned here in the rules? They have a one question/topic per thread policy (Rule #5) – https://appfinite.com/topic/forum-rules/ It’s easier for the rest of us when we’re searching for solutions to certain issues.
"I cant get featured image section 12 to work"
Can you give us more details on what’s going on? It looks like it’s working to me…..or did you get this fixed?
"in the new homepage content section underneath the widgets theres no spacing around the text in responsive mode (mobile phone)"
I could help you fix that, but you’d have to enable it in order for me to see it so I can know what needs to be adjusted. I’ll send Wes/Appfinite an email if there’s a small bug that needs to be fixed. I did see him mention that he’s still making some minor adjustments to this theme. So that may be one of the issues he was talking about.
Thanks for the reply Kronos,
With regards to featured section 12 image:
no, i cant seem to get any image showing on that section. Whatever image i choose, it remains off-white background.
with regards to spacing around tekst front page content section in responsive mode;
it was on when you looked i think.. ive cleared all caches to rule that out.
On the far bottom of the website the content section shows underneath the widgets. In desktop layout theres some spacing around the text, looking as intended, but in vertical mobile phone layout the text has no spacing around it and goes to the ends of the screen, probably not as intended.
@BartA In the Featured Section 12 widget area, it looks like you added a background color in your CSS around line 1612.
.front-page-12 {
background-color: #f3f3f3;
}
That could be the reason your image isn’t showing up since the background color is showing on top of it. Try removing it, and then upload an image to see if it works again.
Hi Wes,
thanks a lot for replying.
I dont remember adding that line.
To be sure i just double checked in the v1.1.2 archive thats for download on studiopress
and found this line is actually code from the original css included in the archive.
Either way;
after removing the line the picture still doesnt show
Best regards,
Bart
Ah, disregard my previous post. I was getting you mixed up with someone else who made customizations.
There is a tiny fix that needs to be done to one of the php files. The file that needs to be adjusted is located in the lib
folder called output.php
. Here is what the line looks like by default (located on line 19) –
$opts = apply_filters( 'aspire_images', array( '1', '4', '5', '7', '9', '11' ) );
Those numbers represent the widget areas. Notice the 12
widget is missing. So we can add it in like this –
$opts = apply_filters( 'aspire_images', array( '1', '4', '5', '7', '9', '11', '12' ) );
I’ll add this in the next update.
Let me know if you need help adding this in. If so, all I would need is a temporary login.
Thanks!
Did you get it working?
I did. Thanks for following up 馃檪
Great! If you run into any other issues just let us know.