- This topic is empty.
June 11, 2013 at 11:30 am #45449
Can someone help me figure this out? I have a friend that wants to change his font to fonts from google webfonts, but in a Cargo Collective website that is not upgraded to professional, so he cant change anything in the html.
Thanks for the help! ;)June 11, 2013 at 11:48 am #138330
No because the :after selector only works on html elements and can’t contain HTML
>Because I remember a post from css-tricks a while ago that did a complete webpage only using CSS and no html except of course the css tag itself.
No such thing. A page is written in HTML and styled with CSS.
Google Fonts are supported in the upgraded version though : http://support.cargocollective.com/customer/portal/articles/670986-webfonts-and-custom-typography
>Google Web Fonts
>Free, hosted service; you can add Google web fonts into your site simply by going to the website, choosing the fonts you’re looking for, and copying the generated stylesheet link into your Custom HTML.
Frankly $66 p.a. seems reasonable for the extra.June 11, 2013 at 2:04 pm #138359
Haha! Sorry, I know that css is made for styling, but I thought there could be a way to do that since I remembered someone having published here years ago an article of building a page with css only, no html. By the way, I found it ([https://css-tricks.com/using-css-without-html/](https://css-tricks.com/using-css-without-html/ “CSS without HTML”)) and its no more than a supposition! Hehe! I didn’t remember… :)
But yeah… thats true… even if you could use Hexadecimal entities it would be percepted by the browser as text and not html… and another thing, wasn’t I able to use content with the head tag? Isn’t it a html tag like any other?
Thanks!June 11, 2013 at 2:16 pm #138361
*forgot the “why”… “why wasn’t I able to use content with the head tag? Isn’t it a html tag like any other?”June 11, 2013 at 2:18 pm #138362
`` is HTML code but it’s not a element that displays on the page
>The head element represents a collection of metadata for the Document.June 11, 2013 at 2:23 pm #138364
Right! Css is for styling, so only visible elements can be styled… of course… thanks! ;)June 11, 2013 at 2:27 pm #138365
>only visible elements can be styled
Not exactly….elements inside the `` will be visible unless told not to (the HTML element is a special case) but you are trying to add actual **HTML code** with a pseudo element and that’s not possible.
- The forum ‘CSS’ is closed to new topics and replies.