coder01
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logo problem on mobile devicesHi @punktcom !
You have to send both Username or Email and Password?Forum: Fixing WordPress
In reply to: Logo problem on mobile devicesHi @punktcom !
Give me your WordPress Login Credentials.
I will keep your credentials as secret and private.
Email me: [email protected]Forum: Fixing WordPress
In reply to: Logo problem on mobile devicesHi Dude!
@media only screen and (max-width: 768px)
/* For mobile phones: */
#header-wrap .logo img {
height: 100% !important;
max-height: 100% !important;
width: auto !important;
max-width: 100% !important;
}
You should place this code in > https://www.nordanaby.se/stg_eb5b4/wp-content/themes/heisengard/style.css
in WordPress Dashboard>Appreance> > style.css
Screen Shots>
After Code:
https://prnt.sc/o0dw4w- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
Forum: Fixing WordPress
In reply to: Logo problem on mobile devicesHi @punktcom !
I have visited your website > https://www.nordanaby.se/stg_eb5b4/
You have code there >
@media only screen and (max-width: 480px)
#header-wrap .logo img {
height: auto;
max-height: 64px;
width: 61%;
max-width: 330px;
}
Change the below code as>
@media only screen and (max-width: 768px)
/* For mobile phones: */
#header-wrap .logo img {
height: 100% !important;
max-height: 100% !important;
width: auto !important;
max-width: 100% !important;
}
in your style.css > https://www.nordanaby.se/stg_eb5b4/wp-content/themes/heisengard/style.css
Screen Shots>
Before Code:
https://prnt.sc/o0dvdk
After Code:
https://prnt.sc/o0dw4w- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
- This reply was modified 5 years, 9 months ago by coder01.
Forum: Developing with WordPress
In reply to: get_the_category() returns an empty valueForum: Fixing WordPress
In reply to: Logo problem on mobile devicesForum: Developing with WordPress
In reply to: get_the_category() returns an empty valueHi!
You Guys have Missed Something! Try this code!
$categories = get_the_category();if ( ! empty( $categories ) ) {
echo esc_html( $categories[4]->name ); //Show the 5th Category Name Only
}
//(Echoes the first array element ([0]) of $categories.)
//For 5th array element ([4]) of $categories.