-
AuthorPosts
-
June 1, 2021 at 10:17 am #1303372
hi ! (its me again) ;)
one qustion: how can i change the font weight in a single text block?
thank you!
best regards, martinJune 1, 2021 at 1:26 pm #1303414Hi buttercup,
Just add a class or ID to the textblock. Please see docs here
So in your case it would be something like:
Add “your_fontstyle” to the Custom CSS class boxIn your Child CSS add:
.your_fontstyle {
font-weight: bold;
} or.your_fontstyle {
font-weight: 600;
}Regards,
Steven
June 1, 2021 at 2:50 pm #1303434hi steve,
thank you very much for your answer and help!
unfortunately i have to admit that i haven’t created a child theme yet.
i tried to enter the change in the quick-css, but that did not work. do you have any recommendation? (except that i should urgently create a child theme) ;)
thanks & best regards,
martinps if it is helpful, i have attached my access data
June 2, 2021 at 9:02 am #1303523Hi,
Unfortunately I can’t see any access data.
Best regards,
Steven
June 2, 2021 at 9:05 am #1303524hi steven, it is specified under private data, i can see it.
best regards, martinJune 2, 2021 at 9:13 am #1303526Hi,
I can’t see any private data: “Private Content (link to your website, login credentials, FTP credentials, etc – only visible for moderators)”
Send me a mail toJune 2, 2021 at 10:54 am #1303549Hi Martin,
I’ve created a test page for you, please see private.
Best regards,
RikardJune 2, 2021 at 11:09 am #1303554hi rikard!
thanks for your help!
i changed the custom id and the css class in “kriesitest”.
and in the quick css i entered the following:
.your_keiesitest {font-weight:900!important; color:#ff6600!important;}
is this correct? unfortunately it has no effect on the kriesietest page.
sorry, i’m a complete beginner….
thanks and best regards, martinedit: it was a typo in the quick-css, i fixed it. unfortunately that didn’t work either.
- This reply was modified 3 years, 5 months ago by buttercup1306.
June 4, 2021 at 4:51 am #1303933Hi Martin,
I’m not sure what exactly you are trying, but you have to use the class which you added in Quick CSS.
Right now, the paragraph in the test page has this class:
your_fontstyletest
But that class doesn’t exist in Quick CSS. So in order for your current setup to work, then you would need to add this into Quick CSS:
.your_fontstyletest { font-weight:600!important; color:#ff6600!important; }
If you want to learn basic CSS, then you can start here: http://w3schools.com/
Best regards,
RikardJune 8, 2021 at 11:40 am #1304609hi rikard,
thanks for your help!
I have solved the problem in another way,
best regrads & have a good day,
martinJune 8, 2021 at 3:52 pm #1304677Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘change the font weight in a single text block’ is closed to new replies.