Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
hellonikoloz
tagDiv Member

See the image below:

It is just like that, when i click to it to edit, it stays as it is shown in the image.
It does not let me configure its settings.

hellonikoloz
tagDiv Member

I did it already with this code:


@media
(max-width:767px){
.td-menu-socials{
display:none;
}}

hellonikoloz
tagDiv Member

Thank you, I will try.

hellonikoloz
tagDiv Member

I have duplicated it, however i could not find the address(href), which registration popup opens.
————

————
In this code i should put the href=”REGISTER WINDOWS ADDRESS” – which i don’t know. Sign in windows address is “#login-form”

hellonikoloz
tagDiv Member

Okay, Thanks, i will try duplicating

hellonikoloz
tagDiv Member

Hello and Huge thanks for your reply.

I think I did not explain it well.
I do not want to change what is after you click the button.
I just want to make desktop login as it is for mobile, So I want to have 2 buttons for desktop login, first button will be sign in and the second button will be for Registration.

So, I have here Desktop login code:
From Newspaper>Parts>Header>Top-menu.php <<< from here
————————-
//show login widget
if (td_util::get_option(‘tds_login_sign_in_widget’) == ‘show’) {
//test if user is logd in or not
if ( is_user_logged_in() ) {
//get current logd in user data
global $current_user;

//<span class=”td-sp-ico-logout”></span>
echo ‘<ul class=”top-header-menu td_ul_logout”>
<li class=”menu-item”>’ .
get_avatar($current_user->ID, 20) . ‘ID) . ‘” class=”td_user_logd_in”>’ . $current_user->display_name . ‘‘ .

<li class=”menu-item”>
<i class=”td-icon-logout”></i>’ . __td(‘Logout’, TD_THEME_NAME) . ‘

‘;
} else {

echo ‘<ul class=”top-header-menu td_ul_login”><li class=”menu-item”>‘ . __td(‘Sign in / Join’, TD_THEME_NAME) . ‘<span class=”td-sp-ico-login td_sp_login_ico_style”></span>‘;
}
}//end login window
———————————

This is the Code. So i want to edit that code, so i will have 2 buttons for desktop as it is for mobile.
Mobile login code is here:
Newspaper>Parts>Login.php
This is the code:
————————————–
<?php
//get current logd in user data
global $current_user;
//check if admin allow registration
$users_can_register = get_option(‘users_can_register’);

//if admin permits registration
$users_can_register_tab = ”;

if ($users_can_register == 1) {
//add the Register tab to the modal window if Anyone can register chec
$users_can_register_tab = ‘ <span></span>‘ . __td(‘Join’, TD_THEME_NAME) . ‘‘;
}

echo ‘
<div class=”td-guest-wrap”>
<div class=”td-menu-avatar”><div class=”td-avatar-container”>’ . get_avatar($current_user->ID, 80) . ‘</div></div>
<div class=”td-menu-login”>‘ . __td(‘Sign in’, TD_THEME_NAME) . ‘‘ . $users_can_register_tab . ‘</div>
</div>
‘;

————————

If i just copy this code( second code, mobile login code) and paste instead of the first code, desktop login code, the theme does not work. So just copy/paste does not work. That’s where i want your help, to implement/edit mobile login code, so when i put into Newspaper>Parts>Header>Top-menu.php << here (this is where desktop login code is) will work, and i will have 2 buttons for both mobile and desktop view.

I hope, you will understand and sorry for bothering that much. Thank you.

hellonikoloz
tagDiv Member

The website is https://siteww.com/

hellonikoloz
tagDiv Member

Thank you so much,

its font and color should be changed through Theme panel > Theme Color/Theme Fonts or i should use custom css to change it?

hellonikoloz
tagDiv Member

Same problem

hellonikoloz
tagDiv Member

Thank you so much

hellonikoloz
tagDiv Member

Thanks

hellonikoloz
tagDiv Member

Thanks so much for reply.

So as i understand i should have different block for just pinned articles, it is not possible to have 1 block(which will show latest articles) and be able to pin specific post in front.

hellonikoloz
tagDiv Member

Thanks for reply,

However that code only showed social icons, not the top header menu.
Have a look at this screen:

—-

Regarding !important tag- is this alert icon okay?
Look at the screen:

hellonikoloz
tagDiv Member

Thank you so much

hellonikoloz
tagDiv Member

That css code does not show top bar in the mobile devices. you can check yourself
siteww.com

Also in when i put that code into custom css area, it says : “use of !important”

hellonikoloz
tagDiv Member

+ Top menu’s not available in mobile view.

hellonikoloz
tagDiv Member

Catalin, Thanks for your reply.
Let’s start from the logo, I am using text logo not the image logo, you could have noticed, if you have checked it, it is text logo, header style 10, on News Week theme demo.
So why theme is not resizing the logo for mobile devices?

Second, about the sign in / join buttons.
Of course i am aware that the styles are different for desktop and mobiles, and that is exactly why i opened this topic to get help to make it the same. I mean the theme is one, so why should i have different view on mobile devices? Just answer me. Styles are different is not the answer, because styles should not be different. I am just asking for help to either make 2 buttons in desktop view or 1 button on mobile view, so the website will be the same for any device. Just tell me how and what to edit in the theme editor.

Thanks.

hellonikoloz
tagDiv Member

And about the logo size, I understand that it has many letters and that’s why it is not fully visible, however theme should be adjusting it for mobile, i mean theme should minimizing the logo text font for mobiles, isn’t it right?

hellonikoloz
tagDiv Member

Not the social networks, I meant Sign in / Join buttons.

In desktop mode there is one button “sign in / join” button together and in mobile view the Sign in and Join buttons are separate.
Look at the screen:

hellonikoloz
tagDiv Member

Thank you so much

hellonikoloz
tagDiv Member

Thank you so much

hellonikoloz
tagDiv Member

Thank you a lot

hellonikoloz
tagDiv Member

Sent, Thanks.

hellonikoloz
tagDiv Member

Have a look at this screen:

Viewing 25 posts - 1 through 25 (of 36 total)