Search Results for 'header'

Results from the Forum
Simion C.
tagDiv Staff

That code will apply when that category page is viewed
https://www.screencast.com/t/dEpOgNv3uzFt
When on a different category page it will not apply
https://www.screencast.com/t/zKBfuMjMbs

If you want the category tag color to apply on all category pages, a code like this might work
https://www.screencast.com/t/xYKDjjKK08RR
This code will apply to all the category pages headers, where the name of the category appears. This is the code used

.category .td-category-header a[href*="street-fashion"]{
background-color: red!important;
border-color: red!important;
}

AntoineVerdier
tagDiv Member

Hum, It is working fine with the background image for example
.category-logements-sociaux .td-category-header {
background-image:url(“https://monimmeuble.com/wp-content/uploads/2018/05/bandeau-logement8.jpg”);
background-size:cover;
}
but doesn’t seem to work for the tag color :
.category-logements-sociaux .td-current-sub-category {
background-color: #c7cf31!important;
border-color: #c7cf31!important;
}

Simion C.
tagDiv Staff

Hi,

The initial color of the elements will be replaced by the color you set. For example the header style you are using has an initial color by default, this one
https://www.screencast.com/t/fZy8NTTnaD
Then the theme accent color applies on the header replacing the default color
https://www.screencast.com/t/p7keikKtk
Then the color you set as menu background applies (this is similar to the one before however)
https://www.screencast.com/t/dDeIGRxBWUp
So these colors will apply one at a time, cycling through each starting from the first to the last.

Same for the block titles which seem to also flash a bit
https://www.screencast.com/t/6gbXFl6HhsH2
This transition would not be visible when the website is loaded faster.

You could remove or replace the initial colors of these elements from the theme stylesheet, with the one you want
Block titles – https://www.screencast.com/t/eYH2Qi9kpg1
Headerhttps://www.screencast.com/t/K11jSLjA43

Thanks

Simion C.
tagDiv Staff

Hi,

There is no actual setting for that element at the moment. You could change it with some CSS if required. You could make it similar to the top menu for example
https://www.screencast.com/t/B7rZpmJi
This is the code used in the example

.td-header-sp-info {
font-family: Roboto-Regular;
font-size: 13px;
}

Thanks

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.

pcservis
Participant
#0

I’m semi satisfied user of Newsmag theme and I bought this one which is more developed with more blocks and I have few issues.

1: Grid slider (I think its 6) don’t extend photos so you get this http://prntscr.com/jcvxr5 and if you use Big Grid like I am at the moment, you cant chose same one for categories slider since you cant chose any of Big Sliders

2: Can’t hide block for mobile or desktop. Tried withour Rocket Cache that I use, still behaves the same

3: If you take look at mine website banjalucanke.com you will notice that all category headers are same color so mine front page is dull and boring. How can I change them http://prntscr.com/jcvzrs

kouma
Participant
#0

Hello.

I added my AdSense code to the Header and Sidebar areas in ADS > theme panel . And then I pressed ’save settings’ button, but the loading sign kept on showing, so I can’t save settings and use AdSense.

My AdSense account is activated, because my another site which is also used your ’Newspaper’ theme ( I purchased two packages ) doesn’t have any problem.

AntoineVerdier
tagDiv Member

<div class=”td-category-header td-container-wrap” style=” background-image: url($background_params); background-size: cover;>

the background image url is $background_params?

Catalin
tagDiv Staff

Hi,

Here is talking about a header gradient which is applied to that section and that’s why it sees little color differences.

Thanks.

ipi_login
Participant
#0

Hey,

I’ve just turned on the Login/Join option on the header bar. As far as I can tell this just registers a new user on our wordpress site. Is there any way to connect this registration to our Aweber account to users are also automatically added to our email list?

Catalin
tagDiv Staff

Hello Antoine,

If you want to have the same color you should use the code below ->

.td-header-gradient:before{
background:none;
}

The result is here -> https://www.screencast.com/t/KeUjRsxl9P

Thanks.

sn
tagDiv Member

Good Morning. What I wanted was to change only the color, menus and bar, from the header of a specific page and keep all the others and if possible also the logo. The page is this: https://sintranoticias.pt/ambiente-e-cidade/

thank you

fanauto
Participant
#0

Hello everyone,
I just bouth the theme Newspaper8. I’ve activated it with the purchased code… the problem is that i can’t install plugins include the Tagdiv composer … i have my WP in FTP server. Once i put the password to download the plugin this message appear:
The plugin does not have a valid header.
Downloading installation package from http://xxxxxxx.com/wp-content/themes/Newspaper/includes/plugins/td-composer.zip?uid=5ae986c0c0046…
Download failed. Unauthorized

Please, how could i install them ?

Simion C.
tagDiv Staff

The image you upload in the per category settings will be displayed as background for the category page.
It will also be used as background for the posts that have that category as primary
https://forum.tagdiv.com/primary-category/

I believe that you want to set an image as background only for the top section, the category header. This would be a similar topic, or try it any any way you want
https://forum.tagdiv.com/topic/style-8-header-on-categories/

AntoineVerdier
tagDiv Member

Yes, I want to use the image in the Per category settings and have it appears in the Category template style 8 top space. For this I am going to modify the Category template 8 and add :
<div class=”td-category-header td-container-wrap” style=” background-image: url( ); background-size: cover; border-top-color:#9DC033; border-top-width:10px;”>
Then I need to put the link to the file in the URL.
Also I could not have the border to appear?

drlaak
Participant
#0

i have done all the needful and its more than 24 hours since i placed the code at the correct places; header ad and the sidebar ad yet nothing is showing.. my site link https://bit.ly/2jobIoa

Simion C.
tagDiv Staff

Maybe I am not understanding this properly. The block header style can be set globally in the theme panel
https://www.screencast.com/t/EphiL5GX9uF
This general setting is overridden by the individual setting
https://www.screencast.com/t/rzysGhP8Hh9y
The ajax filter may look different from style to style, see them all here
https://demo.tagdiv.com/newspaper/block-header-1/
Carefully check your filtering and sorting of the block, in order for the posts to appear.

Now it seems a post is displayed in that block
https://www.screencast.com/t/FSJe2ZzsI

Simion C.
tagDiv Staff

@trailblazer What you would have to do is to remove the inline text element from the first screenshot you mention. Remove the whole row, drag it in the right corner. Then place a new row in the same position
https://www.screencast.com/t/23TUzos0bJ4
In that row insert a column text for example
https://www.screencast.com/t/4l0tlLJkvle
Then in order to display the row below the header set a negative margin top for the row
https://www.screencast.com/t/jdxnkylad7I

Simion C.
tagDiv Staff

Hi,

So you want to remove that design for the homepage post top part, like this
https://www.screencast.com/t/HdWhHVRT
Try this code and it should work

.homepage-post .td-image-gradient-style8:after {
display: none;
}
.homepage-post .td-post-header {
background-color: transparent;
}

The homepage post in the sub-domain seems to display the featured image at the moment
https://www.screencast.com/t/qmbAQR5RBR2m

Thanks

Simion C.
tagDiv Staff

You can change the header style to the one you like, that would not be an issue. Each header style is different than the other, choose the one you like.

hellonikoloz
Participant
#0

Hello,
I want help, so i will have a website, which will be the same for desktop and mobile view, so it will be identical.
Now, it is not, there are differences between mobile view and desktop view( i am not using mobile theme plugin )
The difference, that i was not able to solve myself is the login/register

In Desktop view: “Sign in/Join” there is one button, however in mobile view, it is separate, First is Sign in and the Second is Join button.
So What i am trying to make is to edit Desktop view and put there Sign in button and join button separately.

So, I need to find mobile login code and implement it into desktop.

So I need to find and put it somehow here: Newspaper>Parts>Header>Top-menu.php
Look at the screen> I need to edit that code

So in Desktop view I will have different button for Sign In and and different for Join.

I do hope you will help me, it is the last bit that’s left, before publishing my website.

Thanks in advance.

Bao
tagDiv Member

The instagram feed resolve itself. is there to hide the desktop header menu but not the mobile menu? thank you for your time

sn
Participant
#0

Hello. is it possible to change the colors of a determined header page, despite the colors set for the entire theme? thank you.

Saikological
tagDiv Member

Nevermind, i fixed it. Strangely thought, the sidebar was alreayd set to Smart Sidebar, but still the header of the top menu would be out of the page. Now ive added an empty textbox to the sidebar to make it slightly lower and all seems good.

Palle_66
tagDiv Member

I try differens ways to find solutions, three of my other categories has headerstyle 1 who I not could see the categories. I also try to deactivate some other plugins, reinstall the theme (New version 8.7.3) and build a new startpage with only TagDiv composer etc…
I really like this theme very much, so i hope i get it to work again 🙂

Viewing 25 results - 17,976 through 18,000 (of 29,850 total)