Forum Replies Created
-
AuthorPosts
-
rawfoodsgirlMember
Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/content/20/9860120/html/wp-content/themes/lifestyle-pro/functions.php on line 134
line 134 is
$sizes[‘Extra Large Image’] = 340;
rawfoodsgirlMemberdarn it got this error after changing - i'm sure i am doing something simple wrong.
error msg on website after changing
Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/content/20/9860120/html/wp-content/themes/lifestyle-pro/functions.php on line 12
-_________________________
this is what i added (i didn't add the <?php it was already there I added the other after it at very top of php file<?php
/**
*
* Modify the size of the Gravatar in the User Profile Widget
*
* @author Calvin Koepke
* @since 1.0.0
*/
add_filter( ‘genesis_gravatar_sizes’, ‘ck_user_profile’ );
function ck_user_profile( $sizes ) {
$sizes[‘Extra Large Image’] = 340;
return $sizes;
}//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );rawfoodsgirlMemberGreat Christoph I got the circle to go away
I added this codeo my php file tusing your link but messed up something so reverted back to original.
should i add this code at the top or bottom of my php and is there something here i should not add to that file. my website did not like it?
------------------------------------------------------<?php
/**
*
* Modify the size of the Gravatar in the User Profile Widget
*
* @author Calvin Koepke
* @since 1.0.0
*/
add_filter( 'genesis_gravatar_sizes', 'ck_user_profile' );
function ck_user_profile( $sizes ) {
$sizes['Extra Large Image'] = 340;
return $sizes;
}rawfoodsgirlMemberSavvy Jackie or anyone any other suggestions?
Please help I hate to give up on this theme looks great on laptop but on phone it looks really bad?
skincarebybetty.com
rawfoodsgirlMemberFirst I tried changing the color but it stayed blue:
FROM:
.site-header {
background-color: #76d2c5;
padding: 0px;
padding: 0rem;
overflow: hidden;
}
TO:
.site-header {
background-color: #ffffff;
padding: 0px;
overflow: hidden;
}
Also tried this information from the site: http://wpsites.net/web-design/remove-padding-from-lifestyle-pro-site-header/Remove Padding From Site Inner
.site-inner {
clear: both;
padding-top: 0px;
padding-top: 0rem;
}
This will remove the space under your header image.Tried that and nothing changed.
You suggested: The mobile issue seems to be from a min-height of 417px set for the logo.
I reduced the 417 px and all it did was crop the logo, leaving the big blue background. ???
There was something else I tried – removing the header and coding in the header as a background-image with no repat. That didn't work either. The source code is changing, but something is overriding the .site-header and .site-inner code
rawfoodsgirlMemberthey are you are correct. I wasn't getting a response and it had been several days so I posted it hoping to get attention.
I still have not resolved the issue if i change the 36 px padding down it brings a blue bar across.
On a mobile it still looks bad small image big blue header.
I still have the flicker
I see the code Savvy jackie posted above but not sure what in that code i need to change.
sorry for being a pain but not great with code but trying really hard.thanks
rawfoodsgirlMemberI adjusted the 36 px but it will then show a blue bar on each side of the header.
It doesn't fix the issue.
Is there something besides the 36px I should be changing?
I haven't changed the background yet
rawfoodsgirlMemberok i see this code
is there something i can change it to? to be compatible with phone? and maybe stop flicker?
rawfoodsgirlMemberthanks i went there and all categories is checked.
It shows correctly on my home page I have all categories showing that is great. but when you click on the Menu Blog (which is a page) it just for some reason shows the Yoga category. It seems to be something within this page setting ???
Also you are so helpful to me many times can you look at my questions about the header flicker and not working correctly on phone for skincarebybetty.com in a previous question? thanks!
rawfoodsgirlMemberI wanted to put pictures of my team members no a blog posts.
I want to spotlight my team which is 100+ members. I have seen this on other websites.
rawfoodsgirlMemberthere must be another way because rawfoodsgirl.com I do not add code before my posts I set the image as featured image and it shows up on post. Lovebugoils.com website does not when i add posts. I am sure there is a setting somewhere I adjusted something to make it happen.
but can't remember where?
rawfoodsgirlMemberi cannot find site header or anything about 48 px
this is what i have:
//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 410,
'width' => 1090,
rawfoodsgirlMemberok i changed it in php file and got it bigger but how can i eliminate the purple and just have the image
rawfoodsgirlMemberi changed this in the .css file but it didn't do anything
from 110 to:
/* Logo, hide text */
.header-image .title-area {
padding: 0;
}.header-image .site-title a {
float: left;
min-height: 310px;
width: 100%;
}rawfoodsgirlMemberwhere do i change the 400x
maybe i can change to 200
rawfoodsgirlMemberthanks Lynne appreciate a response i was beginning to wonder if anyone sees my post : )
I still am having an issue. I can make my picture wider which i have but when i go to header in the theme it wants to crop it.
I have downsized it to 972 width but verticle is 400 so not sure if that is why it wants to crops it but seems to only want to allow like a 100 for verticle size. anyway to change this easily?
rawfoodsgirlMemberwhen i upload a wider image it tries to crop i would like an image 972 x 475 how can i do this?
in the theme under Header I upload a pic 972 x 400 and it wants to cut it to down to 100 in vertical height how can i change that?
rawfoodsgirlMemberPlease help.
rawfoodsgirlMemberWould appreciate help
thank you
rawfoodsgirlMemberGot it thanks
-
AuthorPosts