This topic has 11 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #162413
     cfresque
    Participant

    Hi, is there a way this can be separated? I would like to have a gif on my title area but it seems as though when someone does not have a image on thier profile or group it takes over that space. I think it may have an efect on load time as well since I see a flash of it when i refresh a profile with an image.

    #162543
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162753
     Radu
    Moderator

    I don’t understand what you want to achieve

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #162799
     cfresque
    Participant

    I am putting a image in the title area, that works fine. But, for some reason when the user does not have an image in thier cover image the title area image gets duplicated there.

    It should stay blank. The title image should not be inhabiting another area. See how there is a small image in the title section and a blown up version in the cover image? I didnt put the cover there.

    This also seems to load even when there is an image in the cover area because I see it flash before the cover image loads.

    #163028
     Radu
    Moderator

    Hi,

    This doesn’t seem to be a theme problem, it’s more related to your customizations, we don’t have a solution for what you need.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #163063
     cfresque
    Participant

    Does this theme allow for there to be an image, logo, advertisement, in the info bar area?

    If so does that not fall into place with a bug? That an image placed in this area ends up withing another section of the website?

    #163064
     cfresque
    Participant

    I understand you guys are prob tired of me, I have been keeping you busy for sure I know. I am in the final stages of the website, after I have everything working properly, functioning reasonably, and looking good then I will not be much of a bother to you anymore.

    I will also be continuing the support for the duration of my use with this theme, I am sure I will need some teaks down the road and will hire you to develop that. But, in the meantime, if you guy could just bare with me and we can continue on as we have for the last 6 months that would be great.

    I would hire someone but truth be told I simply cannot afford to. I am disabled and fighting court cases, this is what i do to keep productive. But, as the business grows so will our business relationship. 🙂

    #163304
     Radu
    Moderator

    Hi,

    If there is no theme issue or question I cannot help you since you ask for custom things and our support covers only product related questions and small customizations.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #163317
     cfresque
    Participant

    This is not a custom request. This is a feature to be able to add content to the title area that is malfunctioning by appearing where it should not.

    #163446
     Radu
    Moderator

    Hi,

    That’s the responsible function that generates that area

    Adapt it for your needs.

    ‘ . do_shortcode( sq_option( ‘title_info’, ” ) ) . ‘

    ‘,
    ‘heading’ => ‘h1’
    );

    // Parse incoming $args into an array and merge it with $defaults
    $args = wp_parse_args( $args, $defaults );
    $args = apply_filters( ‘kleo_title_args’, $args );

    // OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
    extract( $args, EXTR_SKIP );

    if ( ! empty( $link ) ) {
    $title = “” . $title . ““;
    }

    $breadcrumb_data = ”;
    if ( $show_breadcrumb ) {
    $breadcrumb_data = kleo_breadcrumb( array(
    ‘show_browse’ => false,
    ‘separator’ => ‘ ‘,
    ‘show_home’ => __( ‘Home’, ‘kleo_framework’ ),
    ‘echo’ => false
    ) );
    }

    $title_data = ”;
    if ( $show_title ) {
    $title_data = ‘<{heading} class="page-title">{title}‘;
    }

    if ( ! $show_breadcrumb && $extra == ” ) {
    $class .= ‘ title-single’;
    }

    $title_layout = sq_option( ‘title_layout’, ‘normal’ );
    if ( is_singular() && get_cfield( ‘title_layout’ ) && get_cfield( ‘title_layout’ ) != ” ) {
    $title_layout = get_cfield( ‘title_layout’ );
    }
    if ( $title_layout == ‘center’ ) {
    $class .= ‘ main-center-title’;
    } elseif ( $title_layout == ‘right_breadcrumb’ ) {
    $class .= ‘ main-right-breadcrumb’;
    }

    $output = str_replace( ‘{title_data}’, $title_data, $output );
    $output = str_replace( ‘{class}’, $class, $output );
    $output = str_replace( ‘{title}’, $title, $output );
    $output = str_replace( ‘{breadcrumb_data}’, $breadcrumb_data, $output );
    $output = str_replace( ‘{extra}’, $extra, $output );
    $output = str_replace( ‘{heading}’, $heading, $output );

    return $output;
    }
    }
    “>

    The function needs to be pasted in wp-content/themes/kleo-child/functions.php

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #163487
     cfresque
    Participant

    yikes, yeah that seems very complicated to me, I will try some time down the road. Thanks

    #163658
     Radu
    Moderator

    Ok then

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?