anuar ditucalan
anuar ditucalan

Reputation: 55

why every image in my wordpress get large? even though the size of the image is small

The size of the image is only 15x15. when i put in in wordpress. it automatically large. i want the default size. every image i put in wodpress is getting larger. even though I dont have any code to make it large.

enter image description here

here is my code:

<img src="http://mainvasdaq.compy.global/wp-content/uploads/2017/12/Square_ble_Right-1.png" style="width"50%;" />

enter image description here

Upvotes: 1

Views: 67

Answers (2)

Prakash Rao
Prakash Rao

Reputation: 2398

There is css written as

.dt-header-image img {
    width: 100%;
} 

in your style.css line number 1846.

Please comment that or add below css

.dt-header-image button img {
    width: auto !important;
}

Upvotes: 0

Alp
Alp

Reputation: 3105

Looks like there is a typo in your inline styling:

<img src="http://mainvasdaq.compy.global/wp-content/uploads/2017/12/Square_ble_Right-1.png" style="width:50%;" />

General format of inline style is as follows:

style="attribute:value"

Be aware of the : between attribute and value in above syntax.

More info could be found in w3c or in MDN

Upvotes: 1

Related Questions