Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3642 มุมมอง

I have a problem. I cannot add a logo to my site because I previously reduced the size and location of the image so that it was no longer visible. I tried to change the template, but I was not able to return the location and size of the image.

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I reached the image , but the logo is not in url format, and the control method using code injection is difficult and complicated. Is there another way?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

If the logo on your website is too small to be edited directly, you can still adjust its size and position using your web browser's developer tools. Right-click on the area where the logo should be, then select 'Inspect'. In the HTML code, locate the logo element using its id or class name (usually associated with an tag). From there, modify its CSS properties such as height, position, width, padding, etc., directly within the developer tools. Once you've located the logo and adjusted its details, replicate the same CSS changes within Odoo's website editor. 


You can apply additional styling, beyond height and scrolling, using the code injection feature. Go to the 'THEME' section in the website editor, choose 'Code Injection', and put your CSS code there (inside the style tag). Save the changes and preview your site to check the logo's appearance.

 


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 25
2120
1
ต.ค. 24
1004
3
มี.ค. 25
2036
0
มี.ค. 25
853
4
ม.ค. 25
1802