Topic-icon On all joomla versions and in some templates only

Active Subscriptions:

None
12 years 8 months ago #37444 by iveth
Hi

The social Icons are distorted - dropping down and a box frame is created when a user is logged in to a site
File Attachment:


I have this on most joomla versions and templates - can you help

this excamble is from: amazonas.travel/en/questions/flora

I have sent you login in a private message
The topic has been locked.
Support Specialist
12 years 8 months ago #37463 by alzander
That background is coming from the following (very generic) CSS styles in the file: /jomres/css/tables_jui.css
.top, .bottom {
padding: 15px;
background-color: #F5F5F5;
border: 1px solid #CCCCCC;
}
Our social buttons add a class of .top or .bottom, depending on their location, and the CSS above is adding a background to that area. I'm not sure why it's only happening on login, but I'm assuming you can investigate that further.

Those generic styles should be updated to be more specific to JomRes features, especially since the social buttons aren't within a JomRes component at all.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago - 12 years 8 months ago #37466 by iveth
This is just a problem on normal Joomla articles (not Jomres) - how can I remove that frame / background so it is not showing on normal joomla articles
Last edit: 12 years 8 months ago by iveth.
The topic has been locked.
Support Specialist
12 years 8 months ago #37474 by alzander
You can fix either in the JFBCContent plugin by removing our style or by removing/fixing the style included by JomRes on that page. I already linked to the stylesheet that's adding the background above. In there, you can either make the style more specific to JomRes or remove it altogether (though I don't know what it's for, so I can't tell you how that would affect things).

To change in the JFBCContent plugin, please edit the /plugins/content/jfbccontent/jfbccontent.php file. Around line 245, you'll see:
$buttonText = '<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons '.$buttonStyle.'">';
Remove that $buttonStyle portion, so it looks like:
$buttonText = '<div style="position: relative; top:0px; left:0px; z-index: 99;" class="scsocialbuttons">';
That should fix the problem. However, you'll need to make that change with every update of JFBConnect as we won't be removing that style.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37479 by iveth
Alex

If I replace your Code: nothing happens - but if I remove the complete Jomres code it works - thanks - let me know
The topic has been locked.
Support Specialist
12 years 8 months ago #37488 by alzander
I'm not sure. I'm still seeing the 'top' class in the scsocialbuttons div that surrounds our social buttons. Are you sure you saved that edit and/or cleared your Joomla caches after you did so?

Let me know. The 'top' class needs to be removed so that the generic JomRes CSS doesn't work on that section.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37493 by iveth
Alex

I removed the bit in the Jomres ccs - and now the shadow is gone
The topic has been locked.
Support Specialist
12 years 8 months ago #37504 by alzander
Gotcha. I thought you still wanted to make the change to our JFBCContent plugin. If you got something working that you're satisfied with, that's the important thing.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 8 months ago #37516 by iveth
It looks great now - and I have asked in the Jomres forum what that bit does - so let see -maybe I can leave it permanently
The topic has been locked.
Support Specialist
12 years 8 months ago #37535 by alzander
Awesome. Glad we're getting things fixed up for you, and sorry for the delays you've had with some of your other issues.

Keep us posted on how this goes, or if you need anything else.

Thanks,
Alex
The topic has been locked.