align custom icon
Home › Forums › Pro Support › align custom icon
- This topic has 12 replies, 2 voices, and was last updated 4 years, 6 months ago by Kriti Sharma.
-
AuthorPosts
-
October 30, 2019 at 8:16 am #69572amir_caspi@hotmail.comParticipant
hi I have a custom icon for my menu
but it’s not aligned to the middle of the text menu item
how can i control its alignment and padding to the left
can you please help me with css to do so
here is the link to the sitethanks
AmirOctober 30, 2019 at 4:21 pm #69573Kriti SharmaKeymasterHi Amir,
Unfortunately I am unable to access your website on my browsers. Please get it checked from your web developer. I am also attaching the screenshot with my response.
Regards,
KritiAttachments:
You must be logged in to view attached files.October 30, 2019 at 8:51 pm #69581amir_caspi@hotmail.comParticipantHi, this is the second time you have given me this answer without providing me with support.
my web site works fine and can be seen worldwide. maybe the problem is in your web provider what country are you working from maybe thats the problem. please try harder to see my web site or if you cannot do so either provide me with a refund or try harder to understand my problem and provide a fix. I am sure I am not the first one to see that the custom icons do not align well with the menu item in RTL languages. I will attach a screen shoot for you. its all a question of effort, as always in life.
if you are not willing to try then, unfortunately, i will ask for a refund.Amir
Attachments:
You must be logged in to view attached files.October 31, 2019 at 2:46 am #69583Kriti SharmaKeymasterHi Amir,
Please give me some time to look into the issue. I will get back to you soon with a resolution to the problem.
We are always happy to help our customers.
Regards,
KritiOctober 31, 2019 at 4:32 am #69584Kriti SharmaKeymasterHi Amir,
Can you please tell me what browser and operating system are you using for your website? I am using Google Chrome and Windows 10 to operate your website.
Regards,
KritiOctober 31, 2019 at 6:22 am #69585amir_caspi@hotmail.comParticipantThanks, i am using either chrome or firefox, usually chrome and the operating system is.
windows 10.October 31, 2019 at 9:26 am #69586Kriti SharmaKeymasterHi Amir,
We need following things to test the issue on our test website so that we can provide you a working CSS solution.
1. JSON export file of your responsive menu pro settings.
2. The image file of your custom image icon.
3. The download link of your WordPress theme.Regards
KritiNovember 3, 2019 at 9:53 am #69592amir_caspi@hotmail.comParticipantThis reply has been marked as private.November 3, 2019 at 9:54 am #69594amir_caspi@hotmail.comParticipantThis reply has been marked as private.November 3, 2019 at 2:08 pm #69595Kriti SharmaKeymasterHi Amir,
One sample icon is enough for testing purpose. But I can’t access the JSON export file of the plugin, can you please email me export file at the support email id.
Regards,
KritiNovember 4, 2019 at 6:14 am #69597Kriti SharmaKeymasterHi Amir,
Here is the working CSS solution we tried on our test website.
In icon input, use the following example image html code.
<img class="menu-icon-1" src="https://responsive-menu-pro-stg1.expresstech.dev/wp-content/uploads/2019/11/ecological-pools-3.png"/>
Replace the image URL with the actual image url of your website.
Notice the following class in the image HTML code.
class="menu-icon-1"
This is a style class for using custom css to apply a specific style to that image icon.
For every custom image icon, you change the class name, so that you can apply a specific custom style to it.
Use the following custom css to apply a specific style to the above-mentioned image html.
.menu-icon-1{ float:right; width:30px; height:auto; position:relative; top:5px; left:10px; }
You can adjust the width value to change size of image icon on front-end.
Instead of adjusting padding, you can use relative positioning.
You can change the top and left value to adjust the position of the image icon.
This is how it looked on our test site.
https://drive.google.com/open?id=1b4vWccFaQy1LusNYunwH_7Z3n-TtVq5I
Hope this works for you too.
Regards,
KritiNovember 4, 2019 at 9:06 am #69598amir_caspi@hotmail.comParticipantok great,
now that’s some kick a?? support.
thanks a lot.
appreciate it.November 4, 2019 at 10:33 am #69599Kriti SharmaKeymasterHi Amir,
I am glad that the solution worked for you. Thanks for reaching out to us.
Regards,
Kriti -
AuthorPosts
- The topic ‘align custom icon’ is closed to new replies.