Forum Replies Created
-
AuthorPosts
-
Ok eventuallly found I had to use a color section
OR ( thanks to Yigit )
You can add a Code Block element to your page above your content and insert following
<div id=”my-anchor”></div>
then add a button element and link it to #my-anchorSo how do I put a Developers Section ID on all elements.??
I have Show element options for developers
ticked but it isnt showing on places like the special heading element etc- This reply was modified 5 years, 10 months ago by wealthyone.
I understand it is NOT theme related, but if you look at these support questions, there are many many asking for the same help and so many are just told ” go research it on the net, its out there”
If this was made available to everyone somehow in here or in the Doc’s then there would be far less questions asking what the code is etc etc.
It was only a suggestion and something that the original owners of these themes should think aboutAnd You will notice I addressed it to Dude ( didnt know his name was Peter) ( who answered and fixed a problem I had ) and he will know the answer.
Maybe he will come back and help me with the code for that as well.Thanks
Dude
on a side note. I came across this great Font Resizer.
Is there any code I can use to put it in the Extra Elements Socket Bar ( top) of the enfold theme?
ThanksDude. you are the best
thankyou so muchSo many people have a lot of trouble with fonts outside of google fonts.
This should be posted somewhere so everyone can use itHi.
I saw someone ( from Enfold Support) logged into my site a day ago and wondering if you had any luck finding the error with the font.Thanks
Thanks
That still isnt workingI gave my login details as Rikard said he could help by looking at code.
Thanks
oh and the 3 fonts uploaded are
brotherhood_script-webfont.ttf
brotherhood_script-webfont.woff
brotherhood_script-webfont.woff2and sorry an update to the stylesheet is
/*Headings*/
h1, h2, h3, h4, h5, h6 {
font-family: ‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_script-webfont.ttf’;
src: url(‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff2’) format(‘woff2’),
url(‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff’) format(‘woff’);
font-weight: normal;
font-style: normal;
}OK sorry for the long delay
I am now back and have added a loging for you.
could you please have a look and let me know why the font ( outside of google fonts ) is not working
the font is brotherhood and it has been uploaded to the child/font directorycode in stylesheet is
/*Headings*/
h1, h2, h3, h4, h5, h6 {
font-family: ‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_scriptregular’;
src: url(‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff2’) format(‘woff2’),
url(‘https://www.petaselegantcakes.com.au/wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff’) format(‘woff’);
font-weight: normal;
font-style: normal;
}and in Quick CSS is
/* Add new font Brotherhood */
h1,h2,h3,h4,h5,h6, body p { font-family: ‘brotherhood_script-webfont’ !important; }I appreciate the help..
thankyouwill have to be next week as it is in a dev desktop system
going live next week..Thanks
ok when it goes to a live host I will let you know
thanksWhat quotes are on the start and end?
do you mean ‘ ‘
then I have taken that off in comments since then
That was my attempt to put the code in a box like yours aboveSo the new code is ( as I posted ) after a long discussion listed above on
July 10, 2018 at 3:51 amSo since having written that I have checked the font name and the other code in the custom CSS is still not working
For something that has many members here concerned or not sure what to do, there seems to be no info that I can find. and if what is there is not complete.
Surely if we didnt go back and forth so many times with many different Mods suggesting things that have already been answered, then this can be solved for so many members.
Yes I did and still nothing
Is the code I posted correct tho?
Or is there something I am missing..Is it documented here somewhere exactly how to install a NON google font as all I can find is Google font instructions
.
Victoria This was my post so can I have the help please to get this sorted.
Seems we are both having the same problem with the same things we have tried..- This reply was modified 6 years, 5 months ago by wealthyone.
unfortunately this site is on a local dev account so can not be accessed via the net.
Is there not documented way to do this as if you do it then how can I repeat it when I want to do it again??
I managed to Uplaod the fonts..
So what code and where do I use to make this activeI have this in my Style.css
/*Headings*/
h1, h2, h3, h4, h5, h6 {
font-family: ‘wp-content/themes/enfold-child/font/brotherhood_scriptregular’;
src: url(‘wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff2’) format(‘woff2’),
url(‘wp-content/themes/enfold-child/font/brotherhood_script-webfont.woff’) format(‘woff’);
font-weight: normal;
font-style: normal;
}and in the custom CSS I have
/* Add new font Brotherhood */
h1,h2,h3,h4,h5,h6,body p { font-family: ‘brotherhood_script’ !important; }AND I did try this code as well
h1,h2,h3,h4,h5,h6,body p { font-family: ‘brotherhood_script-webfont’ !important; }
- This reply was modified 6 years, 5 months ago by wealthyone.
As mentioned above, these are NOT a google font
( its not a google font)and I have Version: 4.2 Enfold and do NOT see a “Custom font manager”
Would like help with Non google fonts
Have uploaded new 4.4.1 theme
will check it out and see if I can get it working with a NON google font- This reply was modified 6 years, 5 months ago by wealthyone.
oh and I added this to the custom CSS
‘/* Add new font Brotherhood */
h1, h2, h3, h4, h5, h6 {
font-family: ‘brotherhood’ great vibes;
}’This was the font I uploaded to the font directory
brotherhood_script-webfont.ttf- This reply was modified 6 years, 5 months ago by wealthyone.
I think you will find, ( this is what I have found) is that one of the Save All Changes button gives you the buttons like OK etc and the other save all options button doesnt give it to you.
So the message appears, but the Ok button doesnt
Try saving it using the other button.
Sorry I cant remember which one is which. I need to test on a new siteoh and one more item for this menu.
Is it possible to have one that says Welcome ( username)
So when a member logs in, then it will say Welcome (username ) in the top menu before the rest of the items.Have seen it on other sites and have code for one but not sure of what to change and where to put it.
Maybe you already have some code?thanks
SOLUTION FOUND
Hi,
Please add following code to Functions.php file of your child theme in Appearance > Editor
function avia_username_sc(){
$current_user = wp_get_current_user();
if(is_user_logged_in ()){
$output = ‘<span class=”custom-un”>Welcome ‘ . $current_user->user_login . ‘</span>’;
}
else {
$output = ‘Login‘;
}
return $output;
}
add_shortcode( ‘username’, ‘avia_username_sc’ );
add_filter(‘wp_nav_menu_items’, ‘do_shortcode’);
then go to Appearance > Menus and a new custom link to your secondary menu with # for URL and [username] for navigation label.Best regards,
YigitYes Fantastic.
That worked..So is this code correct or is there a way to nest it together
#header_meta {
background-color: red;
}
#header_meta .sub_menu li a {
color:#fff !important;
}This reply has been marked as private.Yes this is now SOLVED…
ok I found the code with help from another tech..
it was code that was given to me from within this forum.So have removed it for now..
I guess now I need to work out if I need that code or get it fixed
ok it is definately something to do with the theme enfold.
I swapped back to standard WP 17 theme and it worked and looked as it should..
Put it back to Enfold theme and the error was backHas the theme been updated with Woocommerce new files recently..
How do I swap your files with new Woo filesyes I did
(Have deactivated all but Woocommerce..)Someone from Enfold logged in yesterday but havent reported anything.
Did you find a cause…
Its only happening with my Enfold themesApparently has nothing to do with paypal…
Have deactivated all but Woocommerce..??
I couldnt find how to ‘fix ‘ this right now, but tested by removing Paypal as an option to buy products and the error still exists..
Any ideas??
Thanks Mike.
I will look into this straight away and let you know how I go. -
AuthorPosts