1

I have created one Static block and added below content in and need to add arrow above TEST text.

<li><a href="#">Test</a></li>
<li><a href="#">Test</a></li>
<li><a href="#">Test</a></li>
<li><a href="#">Test</a></li>

Like below image

enter image description here

Anyone have idea how can I add arrow using css in PWA Magento2

asked Apr 26, 2019 at 6:10

1 Answer 1

1

I got solution

Create images folder under src/components/CmsBlock/ add your image in images folder like text.png

Change in test: /\.(jpg|svg)$/, to test: /\.(gif|svg|jpg|png)$/, in webpack.config.js file.

Open src/components/CmsBlock/cmsBlock.css file and add below code in CSS file

background: url("./images/text.png") no-repeat left center;
answered Apr 26, 2019 at 6:20

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.