*

MB Themes

Re: Only in dating category
« Reply #15 on: September 04, 2017, 09:42:38 PM »
@calm
Sorry, you do not understand to basics, if you have moded block with phone outside #contact_form, then you need to change CSS as well. Please find some developers to do such work for you.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

calm

  • ***
  • 22 posts
Re: Only in dating category
« Reply #16 on: September 04, 2017, 11:09:55 PM »
@frosticek
yes, i'm just learning this all. now, I even dont understand where is my mistake - because I told You before what Im doing even few times.    :-\
I'll consider about hiring developer for that css changes.
thanks for support, time and patience.

if there is anyone who can clearer explain, point or guide for dumb like me, please, write. 


*

MB Themes

Re: Only in dating category
« Reply #17 on: September 05, 2017, 08:14:58 AM »
@calm
In this code:
Code: [Select]
<?php if($mobile_found && in_array(osc_item_category(), array(104)))  { ?>
  <style>
    #contact_form .phone {display:none!important;}
  </style>
<?php ?>
 
                    <div class="phone<?php if(!$mobile_found) { ?> no-number<?php ?>">
                      <a href="#" class="phone-block" data-item-id="<?php echo osc_item_id(); ?>" data-item-user-id="<?php echo osc_item_user_id(); ?>">
                       


This part:
Code: [Select]
#contact_form .phone {display:none!important;}
Should be probably changed into:
Code: [Select]
.phone {display:none!important;}
As I cannot see div with ID #contact_form anymore.


+ condition:
Code: [Select]
<?php if($mobile_found && in_array(osc_item_category(), array(104)))  { ?>

should be changed to:
Code: [Select]
<?php if(in_array(osc_item_category_id(), array(104)))  { ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

calm

  • ***
  • 22 posts
Re: Only in dating category
« Reply #18 on: September 05, 2017, 06:30:47 PM »
"As I cannot see div with ID #contact_form anymore."
if I understand right -hmm, my site is clean, - I have made css modifications, but that modifications didnt touched item.php.  And I checked with 'beyond compare' my actual item.php with untached veronikas item.php - I cant see any #contact_form which would be dissapeared in my actual item.php. (?)
now Im trying to understand Your code. before I was thinking, that I understand css basics ok.

thanks for Your extra support @frosticek! works like a charm!