-
Author
-
May 23, 2017 at 14:00 #162413cfresqueParticipant
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.
Attachments:
You must be logged in to view attached files.May 24, 2017 at 15:48 #162543LauraModeratorHello, 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 solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 26, 2017 at 17:22 #162753RaduModeratorI 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 solutionMay 27, 2017 at 00:38 #162799cfresqueParticipantI 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.
May 30, 2017 at 17:18 #163028RaduModeratorHi,
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 solutionMay 30, 2017 at 21:56 #163063cfresqueParticipantDoes 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?
June 2, 2017 at 18:04 #163304RaduModeratorHi,
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 solutionJune 2, 2017 at 18:51 #163317cfresqueParticipantThis 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.
June 5, 2017 at 19:05 #163446RaduModeratorHi,
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}{heading}>‘;
}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 solutionJune 6, 2017 at 01:54 #163487cfresqueParticipantyikes, yeah that seems very complicated to me, I will try some time down the road. Thanks
June 7, 2017 at 18:52 #163658RaduModeratorOk 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 -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.