Search Results for 'header'

Results from the Forum
Lucian
tagDiv Staff

Hi,

Please add this custom css in theme panel > custom css:

@media (max-width: 767px) {
.td-menu-background {
z-index:2;
}
.header-style-3 .td-logo img {
height: 48px;
top: 0px;
position: fixed;
width: 180px;
}
}

Modify the height and the width to enlarge the logo on mobile screens.
Should work like this: http://screencast.com/t/fcPUHPX2drG1

Thanks

Alexander
tagDiv Member

Hi Chrisopher,

I already updated to the latest version, still same issue. Thank you for letting me know about the header.php but to be honest I don’t know what exactly I need to remove 😀
Regarding Google+… there’s nothing more to say, I think it’s useless, just a tool for data mining and collection. Hopefully it will be closed soon, fingers crossed :))
I’m gonna try tomorrow backing up everything and switching to the default theme. Thank you once again for your help, it is very much appreciated.

Best regards,

simchris
Participant
#0

Hi, folks
for the next update to theme can you properly compress/optimize/smush/crunch the default images used by theme such as the header/shadows ? These consistently come up in PageSpeed Insights as bloated.

e.g.,
Losslessly compressing /images/header/bg-shadow-top.png could save 854B (90% reduction).
Losslessly compressing /images/header/bg-shadow.png could save 843B (87% reduction).

Thanks. Sorry to be a pain about that 🙂

simchris
tagDiv Member

Well, if it’s an issue with old version of theme, best bet is to install today’s update and see if it changes. Also make sure you hack the header.php file to remove the section which inserts duplicate og:image tag, as that might also be issue.

My point generally was that Google is inconsistent regardless of theme, website, or meta data on properly grabbing all the data. And may have nothing to do with the theme, which you could easily test by backing up your settings, then temporarily switching to twenty-fourteen theme, then doing a save to see difference. Simple way to debug if specific to your “site” and images, or the “theme.” 🙂

MrB
Participant
#0

Good day Team,

On the HEADER MENU LOCATION, I want add 2 different menus (of which I have created already and name as logged-in and logged-out); one for the Logged-in and another for Logged-out users.

I’ve implemented the code below on the newspaper’s function.php:

function my_wp_nav_menu_args( $args = '' ) {
if( is_user_logged_in() ) {
    $args['menu'] = 'logged-in';
} else {
    $args['menu'] = 'logged-out';
}
    return $args;
}
add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );

and it seems not to work. Is it the a way of accomplishing this?

Thanks.

Lucian
tagDiv Staff

Hi Christopher,

Sorry for the delay, glad you have figured this out.
Thanks for your help!
Have a nice day!

Lucian
tagDiv Staff

Replied via e-mail!
Thanks for the message!

simchris
tagDiv Member

Removing that code from the header file does indeed remove the duplicate og:image tag, for those who care about that.

simchris
Participant
#0

Hi, folks
minor issue with latest version of theme; where a duplicate open graph image tag is being inserted into the head, which should not be there when using a separate SEO plugin.

In header.php, lines 17-26 seem to be the culprit, and are not needed for those running something like YOAST SEO, which already inserts og:image tag:

    //facebook sharing fix for videos, we add the custom meta data
    if (is_single()) {
        global $post;
        if (has_post_thumbnail($post->ID)) {
            $td_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
            if (!empty($td_image[0])) {
                echo '<meta property="og:image" content="' .  $td_image[0] . '" />';
            }
        }
    }

This is the only code I could find with quick search which may be the culprit of adding duplicate og:image tag above the YOAST SEO (or other) plugin section. I would presume the query is dropping in an echo, regardless of whether it’s a video or not (in my case no videos at this time).

I will go so far as call this a bug, since it’s not an optional choice. I am going to try removing that block and see if it fixes issue. More later.

simchris
tagDiv Member

HI, I figured out what I needed.

You may consider this topic RESOLVED. 🙂

vrobert
tagDiv Member

Hi,
I’ve tried as Nitish suggested, but it didn’t work for me unfortunately.
I am going to send you a wp-acces to my site and refer to this topic. Thank You.

simchris
tagDiv Member

It’s found in the folder when you download all the files from Themeforest. 🙂

They really should add a note about this in the documentation, as it’s standard practice to include version info with file downloads. However most folks new to webdev would not know that.

Note the files:
*changed_files_4.2_4.2.14.2.1.html
*update_log.txt

[ V 4.2.1 ]
– fix categories display in Theme panel -> Categories
– fix Revolution Slider z-index issue with menu behind
– fixed footer copyright text problem with some characters
– fixed social counter + twitter
– social counter – added no follow on links
– classic blog – text logo fix
– classic blog – menu colors fix
– classic blog – boxed version fix
– fixed sidebar bug on template + loop

—————-

Newspaper theme

Here is a list of all the changes between v 4.2 and v 4.2.14.2.1

Modified files – 17 files
•footer.php
•includes\wp_booster\td_config.php
•includes\wp_booster\td_css_generator.php
•includes\wp_booster\td_page_generator.php
•js\min\site.min.js
•less_files\editor-style.less
•less_files\menu-top.less
•less_files\pagebuilder\td_revolution_slider.less
•less_files\post-templates.less
•less_files\stacks.less
•page-homepage-bg-loop.php
•page-homepage-loop.php
•parts\menu-header-center.php
•sidebar.php
•style.css
•wp-admin\images\post-templates\post-templates-icons-5.png
•wp-admin\panel\views\panel_categories.php

Deleted files – 0 files
•none
New files – 0 files
•none

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

Lucian
it occurs to me it might be easier for me to set the ‘default theme color’ which would control the sidebar widget color blocks behind the widget title text consistently, and then simply over-ride the menu color for the selected hover underline and drop downs?

If you could point me at CSS over-ride for those elements that would be awesome. 🙂

simchris
tagDiv Member

Right, but that doesn’t help with things like search box, a widget plugin such as showing RSS feed from our main site (outside of blog area), categories widget, etc., where there is no option to set color of block text or backing.

So the way it works now
1) default site-wide theme color; impacts menu and default color of sidebar widgets and comments widget areas, for the solid color behind the widget title block
2) you can change the color for featured content blocks, but then those are different from the “default” color block backing the widget title color backing

Perhaps it’s block-title span I need to over-ride?

Sorry. Usually I’m not this stupid. 🙂

(And I had uninstalled Chrome temporarily as I switched to the new 64 bit version but then some things like RoboForm not working, etc., and I need to go back to 32 bit version of Chrome until they get to v38; so can’t do the developer view hover on item find element trick…. suppose I should do that !)

  • This reply was modified 11 years by simchris.
Lucian
tagDiv Staff

Hi,

I’m not sure I understand, the logo it’s displayed on your mobile only if you chose header style 2? Please provide more details and also a link to yours site so I can check this, also make sure you add the logo like this, and use other that header style 1, like this: http://screencast.com/t/6TRpQoTi and check if it’s working, I have tested this and works fine.
Using the settings I have sent you in the screen, it looks like this:

*on desktop: http://screencast.com/t/Xv4Iyplj8PwB
*on mobile: http://screencast.com/t/zICHM1O6U

Please also make sure you disable the plugins and try again, it might be due to a plugin.

Hope this helps!
Thanks

Lucian
tagDiv Staff

Hi,

Thanks @Christopher!

@haendler55

Please make sure that you haven’t changed the header style and also that you have the logo uploaded, try to delete and re-upload it and check if it’s working.
As Chris wrote this can’t happen from doing nothing.
Please let me know if you solve this.

Thanks

Lucian
tagDiv Staff

Hi,


@keanel

Chose a logo of that size you want then add it in theme panel > header > logo like this: http://screencast.com/t/mOxoZnA9 and select the header style 3 or header style 6 will look like this: http://screencast.com/t/eGSEalQSJecd

Thanks

Lucian
tagDiv Staff

Hi Chris,

I have got it now, sorry about this.
If you use a widgetised sidebar, you just edit the block and chose a color for block title and one for your text.
If you want to change the block title on an already created sidebar you can edit the block from appearance > widgets panel, you will have there the same option to change the block header color: http://screencast.com/t/fpEBVf8lvlN
Hope this helps!

Thanks

simchris
tagDiv Member

HI, Lucian
I wasn’t talking so much about the entire sidebar, just the backing color of the blocks behind the text for each widget header.

For example the color of the text behind the header titles in the sidebar widgets seems to be controlled by the default/custom “site color” — however, in my case I want to use brighter color as default, but more muted for the sidebar text blocks/headers for the sidebar widgets, if that makes sense 🙂

Chris

Lucian
tagDiv Staff

Hi,

Sorry about this! I saw the picture and thought you don’t want the logo, haven’t looked well at it, just remove the custom css I gave you from theme panel > custom css, it will show up.
You can use page builder to make your list of link and then get the shortcode and ad it using the do_shortcode function on the header or after the ad where ever you want the link to show on your page.

Hope this helps!
Thanks

Lucian
tagDiv Staff

Hi,

You will have to use the default header style (style 1 from theme pane > header style http://screencast.com/t/YaDPSlWbPjE ) then go to header-style-1.php file and make this changes: http://screencast.com/t/LDkej9E2J

Then use this custom css > in them panel > custom css filed:

.td-a-rec-id-header {
left: 5px !important;
top: 15px !important;
}

Result: http://screencast.com/t/e6nljSjFKRif

Thanks

Lukao350
tagDiv Member

It worked, Lucian, thanks. But the logo disappeared 🙁
this is the result: http://i.imgur.com/Ku8o9fd.jpg
One more question, how do I add a block of links below the advert (I put the links in the header block of ads, along with the announcement, but he did not show).

Thanks again.

Lucian
tagDiv Staff

Hi,

Please make sure you use other than header style 3 or 6, using the header style 3 or 6 loads the same logo on mobile also.
Hope this helps!

Thanks

hummelmose
Participant
#0

Hi there.

I have big problems with the banner ad on mobile.

I use both Google ads and doubleclick, but they don’t load very often on mobile sites.

We use Revive Adserver, and it works flawlessly on other sites. And image served ads also works fine, but in the header ad space its bad on mobile.

Any ideas. Try http://www.rec.dk on a mobile device.

(remember that sometimes it works)

Lucian
tagDiv Staff

Hi,

You can do this by adding your ad code for the “header ad” like this: http://screencast.com/t/4ha9Rihm4C8
Then chose header style 3 or 6 like this: http://screencast.com/t/vqALWiLD
After this add this custom css:

.header-style-3 {
display: none;
}

..in theme panel > custom css, like this: http://screencast.com/t/Exfbwrgj
Should get this result: http://screencast.com/t/o5dnzOfRf

Thanks

Viewing 25 results - 28,676 through 28,700 (of 29,850 total)