How to get the text come closer?


In the Above Pic I want Shops and Lorem to come closer how is that possible``

1 Like

Hi! By “coming closer”, do you mean making their font-size bigger? You can do that with CSS’s font-size property.

But what are you working with? Can you give us the code?

no i mean the gap beetween both of the texts
and sure the code is :

<!--Shops-->
<div class="col-md-6 col-xs-6">
      <div style="text-align: right">
        <img
          src="https://cdn.glitch.global/f08c4aeb-a825-4111-9272-0e5e2c6daee6/4.jpg?v=1688994741793"
          width="31%"
        />
      </div>
    </div>
    <div class="col-md-6 col-xs-6">
      <div style="text-align: left">
        <h3>Shops</h3>
      <h7>Lorem </h7>
      </div>
    </div>

ps. this is only the code for the shops box

<h7> is not a valid HTML tag, by the way. It only goes <h1>-<h6>

2 Likes

You could try margins:

<!-- Just for example -->
<div class="col-md-6 col-xs-6 spaced-element">
...
.spaced-element {
   margin: 50px;
}

Don’t quote me on this but this might be one solution.

source

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.