- Posts: 39
COMMUNITY FORUM
social sharing icons disappeared
- Andrew Neighbour
-
Topic Author
- Offline
- Junior Member
Less
More
14 years 6 months ago #90092
by Andrew Neighbour
social sharing icons disappeared was created by Andrew Neighbour
I am experiencing the same issue that several have written about. A typical item page is found by clicking here:I am using a template override, but it I switch back to the default template for the category, they still don't show. The social sharing code is there, and so are the links as shown by cursor behavior as you hover, but the icons themselves do not reveal themselves. I also compared the two item.php files and they look the same. In the override I moved the image gallery div below the item image view...otherwise unchanged.Anyone have any thoughts on this?Thanks Andrew
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 6 months ago #90093
by william white
Replied by william white on topic social sharing icons disappeared
User firebug to hover over the area you are speaking of. See where it points.
The images are usually designated in a css file.
Could be k2.css or
if your using css4k2 could be in yourtemplate_style.css , a copy of k2 css.
You may have to move the images or change the css for it to find them correctly
The images are usually designated in a css file.
Could be k2.css or
if your using css4k2 could be in yourtemplate_style.css , a copy of k2 css.
You may have to move the images or change the css for it to find them correctly
Please Log in or Create an account to join the conversation.
- BBC
-
- Offline
- Platinum Member
Less
More
- Posts: 663
13 years 11 months ago #90094
by BBC
Replied by BBC on topic social sharing icons disappeared
Do you use onecsspercategory plugin?
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
Less
More
- Posts: 63
13 years 11 months ago #90095
by Josh
Replied by Josh on topic social sharing icons disappeared
The link seems to be broken however perhaps begin by setting all the "positions" in the social div in the item.php to "show" in the pages paremeters. Maybe they are being hidden because of it being inside a div which isnt being displayed because it is hidden using endif? The positions I refer to are for eg
<?php if( $this->item->params->get('itemHits') || $this->item->params->get('itemCategory') || $this->item->params->get('itemTags') || $this->item->params->get('itemShareLinks') || $this->item->params->get('itemAttachments') ): ?>
other code
<?php endif; ?>
Then refresh to see if they display, if they do then set each to "hide" one by one to see where the probelm lies. Maybe the social icons code are wrapped inside a div which is hidden due to the parameter being set to "hide" so your icons are inadvertently being hidden too.. Another thing, are you using the default social icons or are you trying to insert a social sharing code such as "sharethis" into the html of item.php?
<?php if( $this->item->params->get('itemHits') || $this->item->params->get('itemCategory') || $this->item->params->get('itemTags') || $this->item->params->get('itemShareLinks') || $this->item->params->get('itemAttachments') ): ?>
other code
<?php endif; ?>
Then refresh to see if they display, if they do then set each to "hide" one by one to see where the probelm lies. Maybe the social icons code are wrapped inside a div which is hidden due to the parameter being set to "hide" so your icons are inadvertently being hidden too.. Another thing, are you using the default social icons or are you trying to insert a social sharing code such as "sharethis" into the html of item.php?
Please Log in or Create an account to join the conversation.
- Josh
-
- Offline
- Senior Member
Less
More
- Posts: 63
13 years 11 months ago #90096
by Josh
Replied by Josh on topic social sharing icons disappeared
Could you perhaps post a working link so I can take a look? Sounds like a problem I had but must take a look to be sure.
Maybe you could post your item.php as an attachment too?
Maybe you could post your item.php as an attachment too?
Please Log in or Create an account to join the conversation.
- Reggie Tidwell
-
- Offline
- New Member
Less
More
- Posts: 5
13 years 9 months ago #90097
by Reggie Tidwell
Replied by Reggie Tidwell on topic social sharing icons disappeared
Anyone figure this out?? I'm having the exact same problem.
Please Log in or Create an account to join the conversation.