ruandre
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Icons of my homepage no longer displayed …Please remember to backup your files before changing anything.
I see you’re using the Minamaze theme.
Add this to a child theme in its functions.php file:
wp_dequeue_style( 'font-awesome-min' ); wp_dequeue_style( 'font-awesome-cdn' ); wp_enqueue_style( 'my-child-theme-font-awesome-cdn', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' );This will disable the theme versions of Font Awesome and use the CDN version instead, which may help if there is something wrong with the ones used by the theme.
If all else fails you can always contact the theme authors themselves:
http://www.thinkupthemes.com/contact/Let me know if you need any more help. Good luck!
Forum: Themes and Templates
In reply to: edit widget recent postsTry adding the CSS below to the bottom of your style.css file or via a child theme or via the Jetpack plugin’s custom CSS feature:
.widget_recent_entries { text-align: left; } .widget_recent_entries li, .widget_recent_entries span { clear: both; display: block; }If you’re using Chrome or Firefox you can right-click on anything in your page and choose inspect element to debug CSS issues.
Forum: Themes and Templates
In reply to: Icons of my homepage no longer displayed …It looks like two different versions of Font Awesome are being loaded.
I would suggest fixing this first (make sure only one loads):
<link media="all" type="text/css" href="http://halkor.com/wp-content/themes/minamaze/lib/extentions/font-awesome/css/font-awesome.min.css?ver=3.2.1" id="font-awesome-min-css" rel="stylesheet"> <link media="all" type="text/css" href="http://halkor.com/wp-content/themes/minamaze/lib/extentions/font-awesome-4.2.0/css/font-awesome.min.css?ver=4.2.0" id="font-awesome-cdn-css" rel="stylesheet">I also noticed that both are looking for the font files using relative paths:
@font-face { font-family: 'FontAwesome'; src: url('../fonts/fontawesome-webfont.eot?v=4.2.0'); /* ^ Notice the relative path. */Check to see if the files are in that location (one folder up from the Font Awesome CSS file, inside a folder called fonts) or else update the file to use absolute paths instead.
See this answer on Stack Overflow for more info:
http://stackoverflow.com/a/14366347Please let me know if you don’t understand.
Forum: Themes and Templates
In reply to: Reduce width menuThis will work but will also hide the arrow:
#menu-item-3633 > a { padding-right: 0 !important; }If you’re using Chrome or Firefox then you can right-click on anything in the page and choose inspect element to troubleshoot CSS issues.
Forum: Themes and Templates
In reply to: How to find out what this theme is?1. https://www.onedesigns.com/themes/minimatica
2. You can always try looking at the style.css file.Forum: Themes and Templates
In reply to: Auto resize Images in PostsWhat theme are you trying to switch to?
You could try adding this style to the new theme:
img.size-full { height: auto !important; max-width: 100% !important; }Add the code to the bottom of your theme’s style.css, or via a child theme, or via the Jetpack plugin’s CSS option.
Forum: Themes and Templates
In reply to: Showing User Information/** * Get an object that contains the current user's info: */ $current_user_obj = wp_get_current_user(); /** * Print out the object so that you can see its contents: * (Note: this is just for debug/dev, don't use on live site) */ echo '<pre>'; print_r( $current_user_obj ); echo '</pre>'; /** * Now that you know what the object contains you can * get and use the data in your project like this: */ echo $current_user_obj->data->display_name;Be careful not to expose sensitive user info like passwords, login info, etc.
See these links for more info:
http://codex.wordpress.org/Function_Reference/wp_get_current_user
http://codex.wordpress.org/get_currentuserinfo
https://developer.wordpress.org/reference/functions/get_currentuserinfo/Forum: Themes and Templates
In reply to: Change color of link buttonI noticed the links on your site are still green on mouse-over.
The code below will make them blue like your buttons:#outer a:hover { color: #068dcf ! important; } #outer a.btn-success:hover { color: #fff ! important; }Just figured you might appreciate the consistency.
Forum: Themes and Templates
In reply to: Adding the word "Featured" above the feature slider.A CSS-only solution would be:
.home .wprx-wrapper-inner:after { color: #000; content: "Featured:"; font: 20px/1.2em Georgia, "Times New Roman", Times, serif; left: 0px; position: absolute; text-shadow: none; top: 0px; z-index: 99; }You can paste the code above at the bottom of your child theme’s style.css file or insert it via Jetpack.
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Secure mailto links in Social Links MenuNo problem 🙂
Forum: Themes and Templates
In reply to: Twenty TwelveI don’t have an iPhone so I can’t test this, but you could try changing:
From:
<meta name="viewport" content="width=device-width" />To:
<meta name="viewport" content="width=device-width, initial-scale=1" />It’s usually located in the header.php file.
If your child theme doesn’t have a header.php file then simply copy and paste the parent theme’s header.php file into the child theme’s folder and change it there.
You can also check out these links for more info:
https://developers.google.com/speed/docs/insights/ConfigureViewport
https://developers.google.com/web/fundamentals/layouts/rwd-fundamentals/set-the-viewport?hl=enCould you please take a screenshot of the page at Appearance -> Themes and post it here? That may help people trouble-shoot your problem.
Please let me know if you need instructions on how to take a screenshot, or if you don’t know where to host the image, and I’ll be happy to provide more info.
Forum: Themes and Templates
In reply to: [Twenty Fifteen] Secure mailto links in Social Links MenuYou can now also find it on the WP plugin repo:
https://wordpress.org/plugins/menu-email-antispam/Forum: Themes and Templates
In reply to: [Twenty Fifteen] Secure mailto links in Social Links MenuYou can download the plugin version here:
https://github.com/ruandre/menu-email-antispamJust download the .zip file from GitHub and install it in WordPress by going to
Plugins -> Add New -> Upload Plugin -> Browse -> Install Now. Activate it and you’re set!Alternatively, you can use an FTP client to upload the unpacked zip file into the
wp_content/pluginsdirectory on your hosting server.Forum: Themes and Templates
In reply to: Change color of link buttonYou’re most welcome 🙂