Search Results for 'header'

Results from the Forum
simchris
tagDiv Member

Yes, you do need to leave white space and not “fill up” the menu or it will wrap on things like iPad portrait mode.

Ideally overflow should be hidden, or we should have option to add CSS to each menu element such as “hidden-tablet” to the rightmost menus which would then remove those items from the layout.

I guess if you’re using php, then it’s a different problem than what I thought you were having since CSS should ideally be able to hide portions of a CSS menu on specific devices, but no idea how to do that with the theme.

diegobianco
tagDiv Member

Yes by hand there is no problem, actually it fits in regular monitor, the problem is with monitors under 1080!
I’m gonna see if is any way around, using php!

Thanks!

substreamjacob
tagDiv Member

Thank you! And if I want to give it a little padding on the right side how would I do that? Say, 5px.

Radu A
tagDiv Member

hi,

try this css code :


.td-a-rec-id-header {
    left: 0px;
}

Thanks for you message.
Radu A.

Lucian
tagDiv Staff

Hi,

In that case you have to remove the css which hides the header from custom css in theme panel and select header style 6 http://screencast.com/t/TgkIv0GMVk and then from header.php file comment or remove this line: http://screencast.com/t/wYFy305hp12

Thanks

mehedi
Participant
#0

Hi

I added a custom post type to my site and added a custom template for it. I named the custom template “single-products.php” but it is connecting with the theme’s “single.php” and its not showing the code from single-products.php. the code for single-products.php is:

<?php 
/* 
Template Name: Products
Author: Mehedi
*/

get_header(); ?>

	<div id="content" class="narrowcolumn">

	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

			<div class="post" id="post-<?php the_ID(); ?>">
                <div class="post-top">
                    <div class="post-title">
                        <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></a></h2>
						<h4><?php comments_number('0', '1', '%'); ?></h4>
                    </div>
					<h3>
						Added to the database on <?php the_time('d-m-Y') ?>
					</h3>
					
					<?php the_post_thumbnail('medium',array('style'=>'float:left;'));?>
					
					<div style="float:left;padding:150px 20px 20px 20px;font-size:large;"><?php the_meta();?></div>
					
                </div>

				<div class="entry" style="clear:both;">
					<?php the_content('Read the rest of this entry &raquo;'); ?>
				</div>
			</div>

	<?php comments_template(); ?>

	<?php endwhile; else: ?>

		<p>Sorry, no posts matched your criteria.</p>

<?php endif; ?>

	</div>

<?php get_footer(); ?>

Any idea?

substreamjacob
tagDiv Member

Hi Lucian, by “next version,” did you mean 4.1? If so, the header ad still overlaps the logo in 980px mode.

Is there a bit of custom CSS you could offer to move move the header ad to the right?

Thanks,
Jacob

simchris
tagDiv Member

You can manually edit the menu items to change them, so if you have “new book reviews” you can change that to “book reviews” … or remove items, or make subcategories…

e.g.,

reviews
> book reviews
> music reviews
> movie reviews

etc.

You can manually adjust what in your menu to make as few or as many items as you want, change names, shorten things, or put them in sub-category drop downs.

How to:
http://codex.wordpress.org/Appearance_Menus_Screen

diegobianco
Participant
#0

Hi, is there any way limit the amount of menu items by css or php?
I got many items in the header menu, and when I resize the windows, they appear in a new line under the header menu!

Greetings!

dhvanesh
tagDiv Member

Where I can add such code in header.php so I don’t need to add code in index, category and rest of pages.

Thakksy
Participant
#0

Just updated to latest version but sadly still not all the new post templates work for a featured video post. The controls of the video go under the new post headers. I would like to use the style 3 post template for all my posts but can’t as many of my posts have featured videos. 🙁 Apart from that everything is fine. A good idea would be to choose different post templates for different post categories within the theme panel which could solve the problem.

Lucian
tagDiv Staff

Hi,

Use this method I gave you a while ago:
https://forum.tagdiv.com/topic/adsense-below-header-on-homepage/#post-15013
You can do the same for each template you want the ad to appear on.

Thanks

virtualida
Participant
#0

I put in google adsense code for a 468 X 60 header ad but it shows as 728 X 90
I understand the theme has responsive ads – which is great and I want it to work for me, but I need my chosen ad size to be the max size and not increased / ignored by the theme – can I do it ?

dhvanesh
tagDiv Member

It worked just perfect.. Thanks Lucian. However, header ad slot doesn’t appear just below navigation. How can I put ad adsense or any other ad just below navigation on all pages?

Thanks again… 🙂

Lucian
tagDiv Staff

Hi,

The logo appears there because it’s like a menu-item from that list now. Please chose the “header style 2” from Theme Panel and set to hide the header only on screens with the minimum width of 768px using this code in Custom CSS > Theme Panel:

@media (min-width: 768px) {
.td-header-bg {
display: none !important;
}
}

Also remove this code:

.td-header-bg {
display: none !important;
}

and

@media (max-width: 767px) {
.td-header-bg {
display: block !important;
}
}

from Theme Panel > Custom CSS filed.

Hope this helps!
Sorry about this!
Let me know if works!


@seitenprofi
Use the same method to add the logo like a menu-list item and them position it using CSS like you want it.
For the logo to be shown on mobile chose the menu style 2 and use the @media or the advanced CSS from Theme Panel http://screencast.com/t/CvwEyAOxSxb2 to hide the header from other screens or the above CSS:

@media (min-width: 768px) {
.td-header-bg {
display: none !important;
}
}

Thanks

  • This reply was modified 12 years by Lucian.
Radu A
tagDiv Member

hi,
use this css:

.menu-header-container ul.sf-menu >  li > a   {
  font-size: 10px;
}

here : http://screencast.com/t/5XPlGzkzmg

to decrees the size of the menu.

Thanks for you message.
Radu A.

Tihulu
tagDiv Member

Hi Lucian,

I’m using header style 4 (menu + (logo + ad)), but since I don’t have a logo it appears as if it’s a full with ad. I only placed the standard AdSense code in the “Header Ad” section of the theme panel.

If you need anything else, let me know.

Lucian
tagDiv Staff

Hi,

Please try to add this !important to all custom CSS.

Like this:

.header-search-wrap {
display:none !important;
}

Afterwards try to see if it’s working, if not please send your wp-admin username and password at contat@tagdiv.com so we can check, please also send the link to this topic.

Thanks

Lucian
tagDiv Staff

Hi,

You can’t do it by adding conditions inside Ad box, if you want you can add the code inside the header, for the header style you use, should look something like this: http://screencast.com/t/qGY4zbT2ws2

Thanks

TrulyLocal-Newspaper
tagDiv Member

Thanks MIXVICE for the advice….it worked.
Using sFTP access, I first saved the PLUGINS folder as “disabled_plugins”
Then deleted the PLUGINS folder
Was then able to access the WP admin manager
Changed the name of “disabled_plugins” back to PLUGINS
All the required plugins reloaded and everything worked well.

I also no realize that I didn’t have a list of other plugins we had previously installed and so am having to review and reactivate the non-required plugins that were lost.

thanks for your help!

virtualida
tagDiv Member

Since no new info posted here are some of my findings so far which I need your input on ASAP:

* Similar issue on WPML forum – http://wpml.org/forums/topic/how-can-i-translate-theme-options-content/
* From the response – this may be the missing link http://wpml.org/documentation/support/language-configuration-files/

(I did not see you include wpml-config.xml)

I am not sure why you listed the site as WPML compatible, but what I need is separate option panel per language to set:

* different header (image logo & text per panguage)
* different footer
* different template settings – to account for RTL / LTR on non category pages
* different translations – since it’s DIFFERENT LANGUAGES obviously…
* different Custom CSS

(Of course you can do a complete compatibility – but the above is a must!)

simchris
tagDiv Member

the demo logo for NEWSPAPER on themeforest appears to simply be a variation of Helvetica, such as Helvetica Neue, or Arial BLACK, etc. — you can easily recreate that simply by trying out the fonts pre-installed on your computer if you are running MS Office, any Adobe products, etc. as you likely already have the font.

TIP: download the graphic for logo from demo, then simply put that on a layer in Photoshop, and make partially transparent, then type in NEWSPAPER on the new layer and adjust font to match, then change the text to the lettering for your brand/site name. The “background” show through image is from Photoshop it looks like and *not* part of the font itself, which is not common for vector based fonts.

If you already have AI then you likely have the font already; start with Helvetica, Arial, and similar.

Easy to grab the logo:
http://demo.tagdiv.com/newspaper/wp-content/uploads/2014/07/header-logo.png

Hope that helped.

presto2
tagDiv Member

Hi Team Tag Div,

For me, just like in Peter’s case, the sticky menu (floating header) doesn’t work anymore, since V 4.0 (and until V 4.0.2).

So I must keep running the V 3.9.2.

Can you solve it in the next update ? The sticky menu is very important.

Thank you !

Lucian
tagDiv Staff

Hi,

You can do it via css, add this in Theme Panel > Custom CSS:

.widget_text .block-title span {
background-color: #2b2b2b;
}
.widget_text .block-title {
border-bottom: 2px solid #2b2b2b;
}

Thanks

Lucian
tagDiv Staff

Hi,

Please try the solution @mixvice provided.
Let me know how it goes.

Thanks

Viewing 25 results - 28,876 through 28,900 (of 29,850 total)