Forum Replies Created
-
AuthorPosts
-
Hi Peter!
I’d suggest refactoring your code to something like this:
<p align="center" class="first_text">Hav en:</p> <p align="center" class="second_text">GOD DAG</p> <p align="center"><img src="http://god-dag.dk/wp-content/uploads/2014/09/contact-symbol.png" width="151" height="205"></p> <p align="center" class="third_text">T. +45 33 37 99 90 / M. (Email address hidden if logged out) </p> <p align="center" class="fourth_text">God Dag Elleparken 3 2950 Trørød CVR nr. 30880412</p>That way you can target each text individually via CSS and change them depending on the screen size with media queries:
.first_text{ font-size: 40px; color: red; font-family: oswald, Roboto, Arial, Verdana, Helvetica, sans-serif; } .second_text{ font-size: 30px; } .third_text{ font-size: 20px; } .fourth_text{ font-size: 10px; } /* Mobile */ @media only screen and (max-width: 767px) { .first_text{ font-size: 30px; } .second_text{ font-size: 20px; } .third_text{ font-size: 10px; } .fourth_text{ font-size: 10px; } }Modify as needed.
Cheers!
JosueHi Mike!
Yes, that’s possible with the use of custom CSS and media queries, for example for the phone request, try putting something like this in the phone field (theme options):
<span class='phone_desktop'>323223</span><a class='phone_mobile' href='tel:323223'>323223</a>Then add this to Quick CSS:
.phone_mobile{ display: none; } @media only screen and (max-width: 767px) { .phone_mobile{ display: inline-block; } .phone_desktop{ display: none; } }Regards,
JosueSeptember 19, 2014 at 11:30 pm in reply to: Portfolio Category in menu, opened page with sidebar and wrong menu #322151Hi,
Can you please create us an administrator account? post it here as a private reply.
Regards,
JosueSeptember 19, 2014 at 11:28 pm in reply to: Description text area in product admin page is blank #322150Hey!
There is an update available for WC (2.2.4). Also try adding this line to your wp-config.php file:
define( 'CONCATENATE_SCRIPTS', false );Cheers!
JosueHi David!
I tested that code on your website (live editing) and it worked, make sure you put it outside of any media queries or not after a typo in your stylesheet.
Regards,
JosueHi Tal!
Add this to Quick CSS:
.inner_sidebar{ font-weight: normal; }Cheers!
JosueHi Lucas!
Try adding this to your theme / child theme functions.php:
function modify_autorespondermessage_func($message) { $new_message = "Dear". $_POST['avia_nombre_1']."<br>"; $new_message .= $message; return $new_message; } add_filter('avf_form_autorespondermessage', 'modify_autorespondermessage_func', 10, 1);Change “avia_nombre_1” by the name of the field you want to catch.
Regards,
JosueHi,
That error normally appears when there is an WP 4.0 incompatible plugin activated, have you tried disabling all third-party plugins (except WPML) to see if it gets fixed?
Regards,
JosueYou are welcome Erwin, always glad to help :)
Regards,
JosueHey Colin!
The code i suggested was meant to be used in a child theme installation. Alternatively If you don’t want to do that yet; you can put any custom JS here (wrap it in <script></script> tags):
http://screencast.com/t/opsRshUq7RYCheers!
JosueGlad to hear that @Artinet :)
Regards,
JosueSeptember 19, 2014 at 9:05 pm in reply to: Light box action is not working in the gallery setting #322108Hi!
One thing you can do is disable the Enfold lightbox functionality, you can do that right from the Theme Options.
Regards,
JosueHey Erwin!
The problem is with the avia_register_child_frontend_scripts function you have in your child theme functions.php, apparently some of the scrips included are outdated, if you comment this line you’d note the mobile menu comes back:
//add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100);Regards,
JosueHi!
I think i found the real culprit of the issue:
http://screencast.com/t/O8GFyAuWQNAlso, i deactivated the WP Super Cache caching via Settings (disabling the plugin doesn’t work).
Cheers!
JosueSeptember 19, 2014 at 7:13 pm in reply to: Issues with the Blog Style and the Featured Image #322079Hi George!
Try with this code in Quick CSS:
.single-post .big-preview{ display: none; }Best regards,
JosueHey!
If you can’t access the update section in the theme options you have to update via FTP, please refer to this video:
Cheers!
JosueHey!
You need to put the code in /themes/enfold/functions.php at the very end. I can do it for you if you want but i’d need an admin account (WordPress).
Cheers!
JosueHi!
I don’t know to be honest, i just uploaded the theme via FTP and everything worked as expected, you are welcome :)
Cheers!
JosueHi Xavier!
Can you check if the problem persists with the default WordPress theme activated? we need to discard if the issue is coming from the theme or not.
Best regards,
JosueSeptember 19, 2014 at 5:28 pm in reply to: Cut excerpt off at more tag instead of using word/character count #322004Hope it does the trick Marc :)
September 19, 2014 at 5:24 pm in reply to: Single blog post – bottom, set default call to action images #322000Hey!
Try with this:
add_action('ava_after_content', 'add_five_images', 10, 2); function add_five_images($id = "", $context = "") { if($context == "post"){ echo do_shortcode("[PUT FIVE SHORTCODES SHORTCODES HERE]"); } }Regards,
JosueHey!
Yes, i noted that you are using that approach and it’s OK but the problem with the toggles not being responsive was because the switcher is appearing in the “Display Everywhere” widget section right? if that’s the case you could create a custom widget area to store the switcher; you won’t set this new sidebar to any page but use it as a widget shortcode in the header.
Regards,
JosueHey!
It’s working now, i disabled the “Comprehensive Google Map Plugin” plugin which is not compatible with WP 4.0.
Cheers!
JosueI could note a change (but i think it did the contrary), try using a minus instead:
var target = container.offset().top - fixedMainPadding - 50,Best regards,
JosueSeptember 19, 2014 at 7:51 am in reply to: Cut excerpt off at more tag instead of using word/character count #321699Hi Marc!
It should if you are using a child theme or a plugin like this to store custom functions separated from the main theme.
Best regards,
JosueSeptember 19, 2014 at 7:47 am in reply to: Images deleted from wp-content yet they appear in media folder as broken #321695Hello,
Have you tried disabling all third-party plugins to see if it gets fixed?
Regards,
JosueHey Ole!
I’m unable to edit js/avia.js, but basically what you need to do is modify line 709 on that file:
var target = container.offset().top - fixedMainPadding,To:
var target = container.offset().top - fixedMainPadding + 50,That will add some space to the top when the avia_smoothscroll (617) function fires.
Cheers!
JosueHey Samuel!
Try using an Image Element, you can put shortcodes as caption:
http://screencast.com/t/ekPzOIeKCmXCheers!
Josue -
AuthorPosts
