Forum Replies Created

Viewing 15 replies - 391 through 405 (of 411 total)
  • The code you are referring to seems to be trying to get the meta from an image that is supposed to be on that page but something goes wrong when the functions is trying to call them.

    Is there a way for you to verify or remember what image would that be and check the data stored in your database?

    Best regards,
    Konstantinos

    Strange, if you haven’t updated anything at all there shouldn’t be a problem.

    You could always check your browsers Console for any error logs just in case there’s something to help out as to why it is not loading the buttons, because the placeholder for them seems to be there.

    Unfortunately without being able to have access to see the code ourselves I ( and the others in here ) can only point to some directions.

    Best regards,
    Konstantinos

    Hello this is a bit tricky and it would require either editing the output of metaslider / flexslider I don’t know what you are using as you would either need extra ‘divs’ to be able to align them accordingly.

    What you could check out is if possible to achieve what you want with some jQuery magic.

    these 2 functions with center either on X or Y axis accordingly anything comparing to anything.

    $.fn.centerX = function () {
            this.css("position", "absolute");
            this.css("left", Math.max(0, (($('.TO_WHAT').outerWidth() - $(this).outerWidth()) / 2)) + "px");
            return this;
        };
    
        $.fn.centerY = function () {
            this.css("position", "absolute");
            this.css("top", Math.max(0, (($('.TO_WHAT').outerHeight() - $(this).outerHeight()) / 2)) + "px");
            return this;
        };

    Just change the ‘TO_WHAT’ with whatever class or id of the element you like, in your case probably, $(‘.slides’)

    Then you do this : $(‘.slides li img’).centerY();

    This would center the img dead center on Y ( that means the .slides ) box.

    I don’t know if I made it clear but it’s a bit funky for me to explain this.

    If that doesn’t work, you’ve learned 2 helpful jQuery functions that will prove themselves worthy somewhere somehow ^_^ .

    Best regards,

    Hello,

    Which bar do you mean by ‘editing toolbar’? You mean that you don’t see the Admin Toolbar when you visit the front view of your website?

    As for the MetaData of the media files especially Photographs they are usually only used for the ‘alt’ and ‘title’ fields when you hover over an image and a description for some gallery. That being said there shouldn’t be a problem but that’s always a different case with theme developers as some tend to go off rails and do crazy stuff ?? .

    Best regards,
    Konstantinos

    @biztechc , I would just email plugins (at) www.ads-software.com with all the appropriate information about the plugins problems etc and why it should be ‘deactivated’.

    The guys will probably take it down into review mode until you have done the fixes you like.

    Best regards,
    Konstantinos

    Yes like I’ve said the image is just a custom meta for your page probably. The only way to change the output is to find the correct template .php file for this particular view and alter it’s code where it outputs the images OR there will be a specific title settings or something on the Toolset Types plugin as it can handle ‘templating’ etc.

    At least we made a start!

    Best regards,
    Konstantinos

    No problem, I’m happy to help!

    Best regards,
    Konstantinos

    You have this in your /themes/stitnazlaza/js/default.js

    Line 10:

     $("a[href^='https://']").each(function() {
        if(!$(this).attr('href').match("stitnazlaza.info")){
          $(this).attr('target', '_blank');      
        }
      })

    Remove that and there won’t be any target blank I bet.

    Best regards,
    Konstantinos

    The theme developer then has probably added the code to automatically take the ‘titles’ of the current properties view and adding them to the image alt/title texts as well as your images are probably simple metaboxes for this ‘post’. Either that or they are hard-coded.

    If there is a way for you to change the ‘Horizon Residences / Horizon Villas’ general title it would be a good way to test this theory if the images read the full titles.

    Unfortunately if this is true or if the titles are hard-coded it would require editing the theme’s code itself on which only the theme developer or you can do but without knowing the themes files though I don’t think I can be of any more help to be honest.

    Best regards,
    Konstantinos

    Hello,

    Are you using any plugins? If yes try disabling them to see if anything changes, some plugins ( like SEO ones ) have options to force the target’s on all links etc.

    If you are not developing a theme from scratch there might even be a Theme Setting somewhere doing it as well.

    Best regards,
    Konstantinos

    Hello,

    Might there be a cache plugin ? If yes don’t forget to purge the cache it might not be done automatically so you still see the previous page cached.

    How do you add the image on the page? Through a Page Builder ( like Visual Composer for example ) Or is it just a plain post? You can always check the ‘Text’ version of every page code even with Page Builders to see if there is an image tag with that title / alt and edit it in text mode just in case. Else there would probably be an option somewhere when you actually add the image through the builder that overrides the default WordPress alt text that you are setting through the upload.

    Best regards,
    Konstantinos

    If you mean in your source code, you can do a right click View page source ( if you are using chrome ) or Inspect and search for <body , you will find all the classes listed there.

    If you mean from your Admin Panel you can find the page-id by looking at the address bar when editing a post you will see a ‘post.php?post=2’ this means page-id-2 and so on.

    Don’t forget to mark this thread as resolved!

    If you need more help feel free to ask.

    Best regards,
    Konstantinos

    Hello,

    If you just want to hide them an easy way would be through CSS.

    You can add a function like this:

    function add_user_role_body_class( $userClass ) {
        global $current_user;
        foreach( $current_user->roles as $userRole )
            $userClass .= ' user-role-' . $userRole;
        return trim( $userClass);
    }
    add_filter( 'admin_body_class', 'add_user_role_body_class' );

    This will add the ex ‘user-role-administrator’ class to your admin body tag.

    Then you can add the appropriate CSS to hide anything you like example:

    body.user-role-administrator #myDiv {
       visibility:hidden !important;
       position:absolute !important;
    }

    About the CSS:

    With display: none, the form fields won’t be submitted, so instead you can use visibility:hidden .

    You could also go a bit more advanced by totally removing them with jQuery etc but that depends on what those metaboxes are used for etc if they are validated etc etc.

    Best regards,
    Konstantinos

    Hello you can direct the CSS to your home page only like this.

    body.home .entry-content img {
        opacity: 0.5;
        filter: alpha(opacity=50); /* For IE8 and earlier */
    }

    To explain further, every page comes with a set of classes generated by WordPress, example: page-id-2, page-template-default etc etc. Usually as in your case the ‘homepage’ has the class ‘home’ in the body tag. This way it’s easy to target specific CSS cases on pages and so on.

    This will only affect the img within the homepage + entry content div.

    Hope this helps!

    Best regards,
    Konstantinos

    I’m not personally aware of a theme that does exactly what you want but it could be easily achievable with a little custom code workaround on any theme that you would choose.

    With a simple search I also stumbled upon this Plugin maybe you should give it a try as it states that it does what you want to achieve for the background at least.

    The ‘transparent’ foreground solution would depend on the theme you use and if you are using a page builder ( Visual Composer etc ) for your pages.

    I hope this helps out a bit to find what you need.

    Best regards,
    Konstantinos

Viewing 15 replies - 391 through 405 (of 411 total)