以下のコードを参照してください。2番目の「content-block」内でH2タグのフォントサイズを変更する必要があります。Divタグまたはh2タグ自体を直接変更することはできません。変更できるのは、h2タグの下のコンテンツのみです。
<div class="content-block">
<h2>Title here</h2>
<p>this is some text.</p>
</div>
<div class="content-block">
<h2>Modify This title only</h2>
<p>this is some more text.</p>
<style>## I can add CSS here ##</style>
</div>
編集:変更したいものより上にある「content-block」divの数がわかりません。ページからページへと変化します。(ショッピングカート)
どうすれば可能ですか?
ありがとう。