wpjap
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Mobile Menu - The Mobile-Friendly Responsive Menu] Line height in menuOk, thanks. This is what I was looking for: #mobmenuright li a, #mobmenuright li a:visited, #mobmenuright .mobmenu_content h2, #mobmenuright .mobmenu_content h3
Forum: Plugins
In reply to: [WP Mobile Menu - The Mobile-Friendly Responsive Menu] Clickable header barForum: Plugins
In reply to: [WP Mobile Menu - The Mobile-Friendly Responsive Menu] Line height in menuI know and tried that already, but it only adjusts the line height, not top/botton margin or padding. See here what happens https://s6.postimg.org/m1cv36ajl/image.jpg
Thus my question about other adjustments like spacing/alignment etc.
Working! Thanks!
Forum: Plugins
In reply to: [WP Mobile Menu - The Mobile-Friendly Responsive Menu] Spacing under headerTry to add the code below to your custom css option in the General Options tab.
.mobmenu-push-wrap { padding-top: 0px!important; }Forum: Themes and Templates
In reply to: [Tiny Framework] Change Fonts (in Menu or Content)Thanks so far.
I have now used this folder as template for my child theme:
\wp-content\themes\tiny-framework\inc\examples\tiny-framework-child\
Then tested font addition:
Tip13 Remove Open Sans (and other Google Fonts) as default font.
That seems to be working, although the page still looks the same. Probably because font Verdana looks like Google’s Open Sans, right? Verdana is being used says the Firefox inspector.
Then enabled a different Google font (Tip 31) :if ( !is_admin() ) { // If we do not want this to load in the admin dashboard wp_register_style( 'tinyframeworkchild-fonts', 'https://fonts.googleapis.com/css?family=Lora:400,400i,700,700i', '', '', 'screen' ); }Unfortunately: Verdana is still being used (says Firefox inspector, and my eyes)
Hmmm? What am I missing?
Thanks for helping!Forum: Themes and Templates
In reply to: [Tiny Framework] Change Fonts (in Menu or Content)To test this I followed Tip31 in functions.php:
a) pasted line 468 into a page/post (text for testing)
b) uncommented lines 486-488 (define the font for loading)
That worked.
Trying to do that in my child theme did not work:
a) placed lines 486-488 from the original functions.php to my child functions.php, right behind the first functions block (see here for my child functions.php)I presume it has something to do with “enqueuing” the fonts …?!
If I get this fixed, the next question will probably be: how can I de-queue the theme-standard Open Sans font, also by way of the child theme.Maybe someone has an idea for both questions?
Thanks!Great! Thanks a lot!
Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteAlthough this is a workaround to that initial problem in this thread, I managed to replace the custom logo in mobile screens with an alternative.
I added to my child theme’s style.css:
/*Do not display original logo: */ @media only screen and (max-width: 500px) { .custom-logo-link IMG { display:none; }} /*Show and define alternative logo: */ @media only screen and (max-width: 500px) { .custom-logo-link { /*exact size of mobile logo: */ width:220px; height:100px; box-sizing:border-box; /*path to mobile logo: */ background-image: url("http://blablabla.xyz/wp-content/uploads/mobile-logo.png"); }}Does anyone have an idea how to replace the absolute path with a realtive one, because I plan to move the entire site to another domain and I would prefer not to have to edit these paths in the code.
Thx for helping
- This reply was modified 8 years, 9 months ago by wpjap.
Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteHi. I am still trying to figure out how to handle this problem.
I would like to try to use a different logo on an mobile screen.
But I have no idea how to do that …
Can anyone give me some hint?Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteHi Tomas. I know I can’t expect anything, but I am pausing any actions on my site while waiting for an inspection of the problems from the pro side (you). Are you planning to have a look?
Forum: Themes and Templates
In reply to: [Tiny Framework] Remove Bullets in footer site-infoHave a look here: https://wordpress.org/support/topic/strange-dot-in-copyright-widget-footer/
This worked for me:
in style.css:#site-admin-link { display: none; }in functions.php:
function tinyframeworkchild_remove_parent_theme_credits() { remove_action( 'tinyframework_credits', 'tinyframework_display_credits' ); } add_action( 'init', 'tinyframeworkchild_remove_parent_theme_credits' ); function tinyframeworkchild_display_credits() { $text = ' ©2017 <a href="http://www.xyz.de/impressum" rel="designer">Impressum</a>'; echo apply_filters( 'tinyframework_credits_text', $text ); } add_action( 'tinyframework_credits', 'tinyframeworkchild_display_credits' );- This reply was modified 8 years, 10 months ago by wpjap.
Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteThanks for helping, Tomas! This is the website: http://probe.wogem.de/
I have this idea as a workaround if we can’t find the reason for this scaling effect: Would it be possible to use a different logo in narrow screen sizes? Something like “use normal-logo.png except when screen-size is under 600px, then use small-logo.png”.
(You may have noticed: I am not a coder 😉Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteIh have no idea, what style bleeding is.
What do you mean with “give exact measurements”? Should I use a max logo size that doesn’t cause scaling?With “much better to see actual site” you mean you could analyse better if you had the website address?
Or could I use two different logos depending on screen size?
Forum: Themes and Templates
In reply to: [Tiny Framework] Wide Logo on mobile scales complete siteSee here for three screenshots from my mobile phone:
1) no logo
2) 150px logo
3) 400px logo
https://postimg.org/gallery/1y3olqa4e/